OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- adds several config-options to allow for turning off certain features
[uclinux-h8/uClibc.git]
/
libc
/
sysdeps
/
linux
/
common
/
munlockall.c
diff --git
a/libc/sysdeps/linux/common/munlockall.c
b/libc/sysdeps/linux/common/munlockall.c
index
20e8e72
..
3950771
100644
(file)
--- a/
libc/sysdeps/linux/common/munlockall.c
+++ b/
libc/sysdeps/linux/common/munlockall.c
@@
-8,7
+8,9
@@
*/
#include <sys/syscall.h>
+
+#if defined __NR_munlockall && defined __ARCH_USE_MMU__
#include <sys/mman.h>
-#if defined __ARCH_USE_MMU__
+
_syscall0(int, munlockall);
#endif