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
86df89a0
Commit
86df89a0
authored
Dec 25, 2012
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cris: switch to generic old sigsuspend
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
9df794d9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
23 deletions
+1
-23
arch/cris/Kconfig
arch/cris/Kconfig
+1
-0
arch/cris/arch-v10/kernel/signal.c
arch/cris/arch-v10/kernel/signal.c
+0
-12
arch/cris/arch-v32/kernel/signal.c
arch/cris/arch-v32/kernel/signal.c
+0
-11
No files found.
arch/cris/Kconfig
View file @
86df89a0
...
...
@@ -51,6 +51,7 @@ config CRIS
select MODULES_USE_ELF_RELA
select CLONE_BACKWARDS2
select GENERIC_SIGALTSTACK
select OLD_SIGSUSPEND
config HZ
int
...
...
arch/cris/arch-v10/kernel/signal.c
View file @
86df89a0
...
...
@@ -41,18 +41,6 @@
void
do_signal
(
int
canrestart
,
struct
pt_regs
*
regs
);
/*
* Atomically swap in the new signal mask, and wait for a signal. Define
* dummy arguments to be able to reach the regs argument. (Note that this
* arrangement relies on old_sigset_t occupying one register.)
*/
int
sys_sigsuspend
(
old_sigset_t
mask
)
{
sigset_t
blocked
;
siginitset
(
&
blocked
,
mask
);
return
sigsuspend
(
&
blocked
);
}
int
sys_sigaction
(
int
sig
,
const
struct
old_sigaction
__user
*
act
,
struct
old_sigaction
*
oact
)
{
...
...
arch/cris/arch-v32/kernel/signal.c
View file @
86df89a0
...
...
@@ -51,17 +51,6 @@ struct rt_signal_frame {
void
do_signal
(
int
restart
,
struct
pt_regs
*
regs
);
void
keep_debug_flags
(
unsigned
long
oldccs
,
unsigned
long
oldspc
,
struct
pt_regs
*
regs
);
/*
* Swap in the new signal mask, and wait for a signal. Define some
* dummy arguments to be able to reach the regs argument.
*/
int
sys_sigsuspend
(
old_sigset_t
mask
)
{
sigset_t
blocked
;
siginitset
(
&
blocked
,
mask
);
return
sigsuspend
(
&
blocked
);
}
int
sys_sigaction
(
int
signal
,
const
struct
old_sigaction
*
act
,
...
...
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