]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
backport: linux-atomic.c (<asm/unistd.h>): Remove #include.
authorChung-Lin Tang <cltang@codesourcery.com>
Thu, 23 Jul 2015 09:02:47 +0000 (09:02 +0000)
committerChung-Lin Tang <cltang@gcc.gnu.org>
Thu, 23 Jul 2015 09:02:47 +0000 (09:02 +0000)
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

libgcc/ChangeLog
libgcc/config/nios2/linux-atomic.c

index 752c9adfb9fbe8b437c5267956108e28cb13b0ea..f1da9d981ea9f019ea0a8b189ef4f2ae0b5c7fd1 100644 (file)
@@ -1,3 +1,11 @@
+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
index 7070176e47a00dec7555da30bca025190a8a4a40..9ae8d950e9e6d0e2eab9a77375f7344905925cca 100644 (file)
@@ -20,11 +20,6 @@ a copy of the GCC Runtime Library Exception along with this program;
 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.  */