git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git]
/
arch
/
arm
/
kernel
/
entry-common.S
diff --git
a/arch/arm/kernel/entry-common.S
b/arch/arm/kernel/entry-common.S
index
6f5e7c5
..
dbcb11a
100644
(file)
--- a/
arch/arm/kernel/entry-common.S
+++ b/
arch/arm/kernel/entry-common.S
@@
-7,6
+7,7
@@
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
+#include <linux/config.h>
#include <asm/unistd.h>
#include <asm/unistd.h>
@@
-270,7
+271,7
@@
ENTRY(sys_call_table)
@ r8 = syscall table
.type sys_syscall, #function
sys_syscall:
@ r8 = syscall table
.type sys_syscall, #function
sys_syscall:
-
bic
scno, r0, #__NR_OABI_SYSCALL_BASE
+
eor
scno, r0, #__NR_OABI_SYSCALL_BASE
cmp scno, #__NR_syscall - __NR_SYSCALL_BASE
cmpne scno, #NR_syscalls @ check range
stmloia sp, {r5, r6} @ shuffle args
cmp scno, #__NR_syscall - __NR_SYSCALL_BASE
cmpne scno, #NR_syscalls @ check range
stmloia sp, {r5, r6} @ shuffle args
@@
-339,7
+340,7
@@
sys_mmap2:
streq r5, [sp, #4]
beq do_mmap2
mov r0, #-EINVAL
streq r5, [sp, #4]
beq do_mmap2
mov r0, #-EINVAL
- mov pc, lr
+ RETINSTR(mov,pc, lr)
#else
str r5, [sp, #4]
b do_mmap2
#else
str r5, [sp, #4]
b do_mmap2