Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
64fe2214
Commit
64fe2214
authored
Feb 03, 2005
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Fix sys_syscall
Signed-off-by: Russell King
parent
accf94a1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
arch/arm/kernel/entry-common.S
arch/arm/kernel/entry-common.S
+9
-7
No files found.
arch/arm/kernel/entry-common.S
View file @
64fe2214
...
@@ -11,6 +11,7 @@
...
@@ -11,6 +11,7 @@
#include <asm/thread_info.h>
#include <asm/thread_info.h>
#include <asm/ptrace.h>
#include <asm/ptrace.h>
#include <asm/unistd.h>
#include "entry-header.S"
#include "entry-header.S"
...
@@ -190,13 +191,14 @@ ENTRY(sys_call_table)
...
@@ -190,13 +191,14 @@ ENTRY(sys_call_table)
.
type
sys_syscall
,
#
function
.
type
sys_syscall
,
#
function
sys_syscall
:
sys_syscall
:
eor
scno
,
r0
,
#
OS_NUMBER
<<
20
eor
scno
,
r0
,
#
OS_NUMBER
<<
20
cmp
scno
,
#
NR_syscalls
@
check
range
cmp
scno
,
#
__NR_syscall
-
__NR_SYSCALL_BASE
stmleia
sp
,
{
r5
,
r6
}
@
shuffle
args
cmpne
scno
,
#
NR_syscalls
@
check
range
movle
r0
,
r1
stmloia
sp
,
{
r5
,
r6
}
@
shuffle
args
movle
r1
,
r2
movlo
r0
,
r1
movle
r2
,
r3
movlo
r1
,
r2
movle
r3
,
r4
movlo
r2
,
r3
ldrle
pc
,
[
tbl
,
scno
,
lsl
#
2
]
movlo
r3
,
r4
ldrlo
pc
,
[
tbl
,
scno
,
lsl
#
2
]
b
sys_ni_syscall
b
sys_ni_syscall
sys_fork_wrapper
:
sys_fork_wrapper
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment