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
ea4b3fca
Commit
ea4b3fca
authored
Sep 06, 2021
by
Helge Deller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parisc: Drop useless debug info and comments from signal.c
Signed-off-by:
Helge Deller
<
deller@gmx.de
>
parent
1260dea6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
15 deletions
+0
-15
arch/parisc/kernel/signal.c
arch/parisc/kernel/signal.c
+0
-15
No files found.
arch/parisc/kernel/signal.c
View file @
ea4b3fca
...
...
@@ -293,16 +293,6 @@ setup_rt_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs,
&
frame
->
tramp
[
SIGRESTARTBLOCK_TRAMP
+
2
]);
err
|=
__put_user
(
INSN_NOP
,
&
frame
->
tramp
[
SIGRESTARTBLOCK_TRAMP
+
3
]);
#if DEBUG_SIG
/* Assert that we're flushing in the correct space... */
{
unsigned
long
sid
;
asm
(
"mfsp %%sr3,%0"
:
"=r"
(
sid
));
DBG
(
1
,
"setup_rt_frame: Flushing 64 bytes at space %#x offset %p
\n
"
,
sid
,
frame
->
tramp
);
}
#endif
start
=
(
unsigned
long
)
&
frame
->
tramp
[
0
];
end
=
(
unsigned
long
)
&
frame
->
tramp
[
TRAMP_SIZE
];
flush_user_dcache_range_asm
(
start
,
end
);
...
...
@@ -501,7 +491,6 @@ syscall_restart(struct pt_regs *regs, struct k_sigaction *ka)
DBG
(
1
,
"ERESTARTNOHAND: returning -EINTR
\n
"
);
regs
->
gr
[
28
]
=
-
EINTR
;
break
;
case
-
ERESTARTSYS
:
if
(
!
(
ka
->
sa
.
sa_flags
&
SA_RESTART
))
{
DBG
(
1
,
"ERESTARTSYS: putting -EINTR
\n
"
);
...
...
@@ -569,10 +558,6 @@ insert_restart_trampoline(struct pt_regs *regs)
}
/*
* Note that 'init' is a special process: it doesn't get signals it doesn't
* want to handle. Thus you cannot kill init even with a SIGKILL even by
* mistake.
*
* We need to be able to restore the syscall arguments (r21-r26) to
* restart syscalls. Thus, the syscall path should save them in the
* pt_regs structure (it's okay to do so since they are caller-save
...
...
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