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
6c96c8f7
Commit
6c96c8f7
authored
May 28, 2003
by
David Mosberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ia64: Minor fixes: remove obsolete ia64_ret_from_execve_syscall() and
fix bit rot in signal debug printk.
parent
de387244
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
13 deletions
+2
-13
arch/ia64/kernel/entry.S
arch/ia64/kernel/entry.S
+0
-11
arch/ia64/kernel/signal.c
arch/ia64/kernel/signal.c
+2
-2
No files found.
arch/ia64/kernel/entry.S
View file @
6c96c8f7
...
...
@@ -713,17 +713,6 @@ GLOBAL_ENTRY(ia64_leave_syscall)
br.cond.sptk.many
rbs_switch
END
(
ia64_leave_syscall
)
GLOBAL_ENTRY
(
ia64_ret_from_execve_syscall
)
PT_REGS_UNWIND_INFO
(0)
cmp.ge
p6
,
p7
=
r8
,
r0
//
syscall
executed
successfully
?
adds
r2
=
PT
(
R8
)+
16
,
sp
//
r2
=
&
pt_regs
.
r8
adds
r3
=
PT
(
R10
)+
16
,
sp
//
r3
=
&
pt_regs
.
r10
;;
.
mem
.
offset
0,0
; (p6) st8.spill [r2]=r8 // store return value in slot for r8 and set unat bit
.
mem
.
offset
8,0
; (p6) st8.spill [r3]=r0 // clear error indication in slot for r10 and set unat bit
(
p7
)
br.cond.spnt
handle_syscall_error
//
handle
potential
syscall
failure
END
(
ia64_ret_from_execve_syscall
)
//
fall
through
GLOBAL_ENTRY
(
ia64_leave_kernel
)
PT_REGS_UNWIND_INFO
(0)
/
*
...
...
arch/ia64/kernel/signal.c
View file @
6c96c8f7
...
...
@@ -470,8 +470,8 @@ setup_frame (int sig, struct k_sigaction *ka, siginfo_t *info, sigset_t *set,
scr
->
scratch_unat
=
0
;
/* ensure NaT bits of r12 is clear */
#if DEBUG_SIG
printk
(
"SIG deliver (%s:%d): sig=%d sp=%lx ip=%lx handler=%
lx
\n
"
,
current
->
comm
,
current
->
pid
,
sig
,
scr
->
pt
.
r12
,
scr
->
pt
.
cr_iip
,
scr
->
pt
.
r3
);
printk
(
"SIG deliver (%s:%d): sig=%d sp=%lx ip=%lx handler=%
p
\n
"
,
current
->
comm
,
current
->
pid
,
sig
,
scr
->
pt
.
r12
,
frame
->
sc
.
sc_ip
,
frame
->
handler
);
#endif
return
1
;
...
...
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