2015-07-23 Chung-Lin Tang <cltang@codesourcery.com>
Backport from mainline:
2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
libgcc/
* config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
(EFAULT,EBUSY,ENOSYS): Delete unused #defines.
From-SVN: r226092
+2015-07-23 Chung-Lin Tang <cltang@codesourcery.com>
+
+ Backport from mainline:
+ 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
+
+ * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
+ (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
+
2015-07-01 John David Anglin <danglin@gcc.gnu.org>
* config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
<http://www.gnu.org/licenses/>. */
-#include <asm/unistd.h>
-#define EFAULT 14
-#define EBUSY 16
-#define ENOSYS 38
-
/* We implement byte, short and int versions of each atomic operation
using the kernel helper defined below. There is no support for
64-bit operations yet. */