Commit 20ca17e4 by Chung-Lin Tang Committed by Chung-Lin Tang

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
parent 8bb8e838
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> 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
* offloadstuff.c: Constify host data. * offloadstuff.c: Constify host data.
......
...@@ -20,11 +20,6 @@ a copy of the GCC Runtime Library Exception along with this program; ...@@ -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 see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
<http://www.gnu.org/licenses/>. */ <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 /* We implement byte, short and int versions of each atomic operation
using the kernel helper defined below. There is no support for using the kernel helper defined below. There is no support for
64-bit operations yet. */ 64-bit operations yet. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment