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
2a9c2751
Commit
2a9c2751
authored
Jul 12, 2012
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MIPS: compat: Export O32 syscall table and rename to avoid duplicate symbol.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
f4ae17aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
arch/mips/kernel/scall64-o32.S
arch/mips/kernel/scall64-o32.S
+5
-5
No files found.
arch/mips/kernel/scall64-o32.S
View file @
2a9c2751
...
...
@@ -53,7 +53,7 @@ NESTED(handle_sys, PT_SIZE, sp)
sll
a3
,
a3
,
0
dsll
t0
,
v0
,
3
#
offset
into
table
ld
t2
,
(
sys_call_table
-
(
__NR_O32_Linux
*
8
))(
t0
)
ld
t2
,
(
sys
32
_call_table
-
(
__NR_O32_Linux
*
8
))(
t0
)
sd
a3
,
PT_R26
(
sp
)
#
save
a3
for
syscall
restarting
...
...
@@ -168,7 +168,7 @@ LEAF(sys32_syscall)
beqz
t0
,
einval
#
do
not
recurse
dsll
t1
,
t0
,
3
beqz
v0
,
einval
ld
t2
,
sys_call_table
(
t1
)
#
syscall
routine
ld
t2
,
sys
32
_call_table
(
t1
)
#
syscall
routine
move
a0
,
a1
#
shift
argument
registers
move
a1
,
a2
...
...
@@ -190,8 +190,8 @@ einval: li v0, -ENOSYS
END
(
sys32_syscall
)
.
align
3
.
type
sys_call_table
,
@
object
sys_call_table
:
.
type
sys
32
_call_table
,
@
object
EXPORT
(
sys32_call_table
)
PTR
sys32_syscall
/*
4000
*/
PTR
sys_exit
PTR
__sys_fork
...
...
@@ -541,4 +541,4 @@ sys_call_table:
PTR
compat_sys_process_vm_writev
PTR
sys_kcmp
PTR
sys_finit_module
.
size
sys
_call_table
,
.
-
sys
_call_table
.
size
sys
32_call_table
,
.
-
sys32
_call_table
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