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
8a68060c
Commit
8a68060c
authored
Aug 16, 2018
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
alpha: unify the glue for sigreturn-like syscalls
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
060581c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
20 deletions
+10
-20
arch/alpha/kernel/entry.S
arch/alpha/kernel/entry.S
+10
-20
No files found.
arch/alpha/kernel/entry.S
View file @
8a68060c
...
@@ -791,7 +791,7 @@ ret_from_kernel_thread:
...
@@ -791,7 +791,7 @@ ret_from_kernel_thread:
/*
/*
*
Special
system
calls
.
Most
of
these
are
special
in
that
they
either
*
Special
system
calls
.
Most
of
these
are
special
in
that
they
either
*
have
to
play
switch_stack
games
or
in
some
way
use
the
pt_regs
struct
.
*
have
to
play
switch_stack
games
.
*/
*/
.
macro
fork_like
name
.
macro
fork_like
name
...
@@ -812,35 +812,25 @@ fork_like fork
...
@@ -812,35 +812,25 @@ fork_like fork
fork_like
vfork
fork_like
vfork
fork_like
clone
fork_like
clone
.
macro
sigreturn_like
name
.
align
4
.
align
4
.
globl
sys_
sigreturn
.
globl
sys_
\
name
.
ent
sys_
sigreturn
.
ent
sys_
\
name
sys_
sigreturn
:
sys_
\
name
:
.
prologue
0
.
prologue
0
lda
$
9
,
ret_from_straced
lda
$
9
,
ret_from_straced
cmpult
$
26
,
$
9
,
$
9
cmpult
$
26
,
$
9
,
$
9
lda
$sp
,
-
SWITCH_STACK_SIZE
(
$sp
)
lda
$sp
,
-
SWITCH_STACK_SIZE
(
$sp
)
jsr
$
26
,
do_
sigreturn
jsr
$
26
,
do_
\
name
bne
$
9
,
1
f
bne
$
9
,
1
f
jsr
$
26
,
syscall_trace_leave
jsr
$
26
,
syscall_trace_leave
1
:
br
$
1
,
undo_switch_stack
1
:
br
$
1
,
undo_switch_stack
br
ret_from_sys_call
br
ret_from_sys_call
.
end
sys_sigreturn
.
end
sys_
\
name
.
endm
.
align
4
sigreturn_like
sigreturn
.
globl
sys_rt_sigreturn
sigreturn_like
rt_sigreturn
.
ent
sys_rt_sigreturn
sys_rt_sigreturn
:
.
prologue
0
lda
$
9
,
ret_from_straced
cmpult
$
26
,
$
9
,
$
9
lda
$sp
,
-
SWITCH_STACK_SIZE
(
$sp
)
jsr
$
26
,
do_rt_sigreturn
bne
$
9
,
1
f
jsr
$
26
,
syscall_trace_leave
1
:
br
$
1
,
undo_switch_stack
br
ret_from_sys_call
.
end
sys_rt_sigreturn
.
align
4
.
align
4
.
globl
alpha_syscall_zero
.
globl
alpha_syscall_zero
...
...
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