From dd18c96de380689533d5d0c71f487d32cc2f75fb Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 16 Mar 2009 22:18:05 +0000 Subject: Merged revisions 25669-25670,25673-25674 via svnmerge from svn+ssh://svn.uclibc.org/svn/trunk/uClibc ........ r25669 | vapier | 2009-03-15 23:14:34 -0700 (Sun, 15 Mar 2009) | 1 line import user.h from the kernel as it is no longer exported by the kernel ........ r25670 | vapier | 2009-03-15 23:16:15 -0700 (Sun, 15 Mar 2009) | 1 line enable mprotect() regardless of MMU as some systems have MPUs which allows memory protection ........ r25673 | carmelo | 2009-03-16 06:33:27 -0700 (Mon, 16 Mar 2009) | 2 lines Added string.h header for strerr prototype. ........ r25674 | carmelo | 2009-03-16 06:36:39 -0700 (Mon, 16 Mar 2009) | 10 lines Fixed makefiles inclusion flow to pass actual configuration variable values. Test build system modified to be similar to uClibc one: * test custom logic moved from Makefile to a new Makefile.in (to be included by Makefile). * Makefile same for all tests and just used for including all other needed makefiles. Signed-off-by: Salvatore Cro Signed-off-by: Carmelo Amoroso ........ --- libc/sysdeps/linux/common/mprotect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/common/mprotect.c') diff --git a/libc/sysdeps/linux/common/mprotect.c b/libc/sysdeps/linux/common/mprotect.c index a0e7610fd..d60fc04d6 100644 --- a/libc/sysdeps/linux/common/mprotect.c +++ b/libc/sysdeps/linux/common/mprotect.c @@ -10,6 +10,6 @@ #include #include -#if defined __ARCH_USE_MMU__ && defined __NR_mprotect +#if defined __NR_mprotect _syscall3(int, mprotect, void *, addr, size_t, len, int, prot) #endif -- cgit v1.2.3