linux-atomic.c (<asm/unistd.h>): Remove #include.

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: r226063
This commit is contained in:
Chung-Lin Tang 2015-07-22 11:39:30 +00:00 committed by Chung-Lin Tang
parent 8bb8e83841
commit 20ca17e480
2 changed files with 5 additions and 5 deletions

View File

@ -1,3 +1,8 @@
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-17 Nathan Sidwell <nathan@codesourcery.com>
* offloadstuff.c: Constify host data.

View 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. */