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
Kirill Smelkov
linux
Commits
36723f6e
Commit
36723f6e
authored
Feb 03, 2005
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents
192fcdd0
38435bc4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
10 deletions
+16
-10
arch/arm/kernel/calls.S
arch/arm/kernel/calls.S
+2
-2
arch/arm/kernel/entry-common.S
arch/arm/kernel/entry-common.S
+14
-8
No files found.
arch/arm/kernel/calls.S
View file @
36723f6e
...
...
@@ -134,7 +134,7 @@ __syscall_start:
.
long
sys_ipc
.
long
sys_fsync
.
long
sys_sigreturn_wrapper
/*
120
*/
.
long
sys_clone_wapper
/*
120
*/
.
long
sys_clone_w
r
apper
.
long
sys_setdomainname
.
long
sys_newuname
.
long
sys_ni_syscall
...
...
@@ -254,7 +254,7 @@ __syscall_start:
.
long
sys_fremovexattr
.
long
sys_tkill
.
long
sys_sendfile64
/*
240
*/
.
long
sys_futex
/*
240
*/
.
long
sys_futex
_wrapper
.
long
sys_sched_setaffinity
.
long
sys_sched_getaffinity
.
long
sys_io_setup
...
...
arch/arm/kernel/entry-common.S
View file @
36723f6e
...
...
@@ -11,6 +11,7 @@
#include <asm/thread_info.h>
#include <asm/ptrace.h>
#include <asm/unistd.h>
#include "entry-header.S"
...
...
@@ -190,13 +191,14 @@ ENTRY(sys_call_table)
.
type
sys_syscall
,
#
function
sys_syscall
:
eor
scno
,
r0
,
#
OS_NUMBER
<<
20
cmp
scno
,
#
NR_syscalls
@
check
range
stmleia
sp
,
{
r5
,
r6
}
@
shuffle
args
movle
r0
,
r1
movle
r1
,
r2
movle
r2
,
r3
movle
r3
,
r4
ldrle
pc
,
[
tbl
,
scno
,
lsl
#
2
]
cmp
scno
,
#
__NR_syscall
-
__NR_SYSCALL_BASE
cmpne
scno
,
#
NR_syscalls
@
check
range
stmloia
sp
,
{
r5
,
r6
}
@
shuffle
args
movlo
r0
,
r1
movlo
r1
,
r2
movlo
r2
,
r3
movlo
r3
,
r4
ldrlo
pc
,
[
tbl
,
scno
,
lsl
#
2
]
b
sys_ni_syscall
sys_fork_wrapper
:
...
...
@@ -211,7 +213,7 @@ sys_execve_wrapper:
add
r3
,
sp
,
#
S_OFF
b
sys_execve
sys_clone_wapper
:
sys_clone_w
r
apper
:
add
ip
,
sp
,
#
S_OFF
str
ip
,
[
sp
,
#
4
]
b
sys_clone
...
...
@@ -236,6 +238,10 @@ sys_sigaltstack_wrapper:
ldr
r2
,
[
sp
,
#
S_OFF
+
S_SP
]
b
do_sigaltstack
sys_futex_wrapper
:
str
r5
,
[
sp
,
#
4
]
@
push
sixth
arg
b
sys_futex
/*
*
Note
:
off_4k
(
r5
)
is
always
units
of
4
K
.
If
we
can
't do the requested
*
offset
,
we
return
EINVAL
.
...
...
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