OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
401ee58
)
Oops. Fix compilation on arm.
author
Eric Andersen
<andersen@codepoet.org>
Mon, 4 Nov 2002 15:06:25 +0000
(15:06 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Mon, 4 Nov 2002 15:06:25 +0000
(15:06 -0000)
-Erik
libc/sysdeps/linux/common/syscalls.c
patch
|
blob
|
history
diff --git
a/libc/sysdeps/linux/common/syscalls.c
b/libc/sysdeps/linux/common/syscalls.c
index
e0dbdf3
..
63c70e8
100644
(file)
--- a/
libc/sysdeps/linux/common/syscalls.c
+++ b/
libc/sysdeps/linux/common/syscalls.c
@@
-991,8
+991,10
@@
weak_alias(fstat, fstat64);
//#define __NR_iopl 110
#ifdef L_iopl
+/* For arm there is a totally different implementation */
+#if !defined(__arm__)
/* Tuns out the m68k unistd.h kernel header is broken */
-# if defined __UCLIBC_HAS_MMU__ && defined __NR_iopl &&
! defined(__mc68000__
)
+# if defined __UCLIBC_HAS_MMU__ && defined __NR_iopl &&
( !defined(__mc68000__)
)
_syscall1(int, iopl, int, level);
# else
int iopl(int level)
@@
-1001,6
+1003,7
@@
weak_alias(fstat, fstat64);
return -1;
}
# endif
+# endif
#endif
//#define __NR_vhangup 111