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
881e252d
Commit
881e252d
authored
Dec 25, 2012
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sh: switch to generic old sigsuspend()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
7a879a94
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
23 deletions
+1
-23
arch/sh/Kconfig
arch/sh/Kconfig
+1
-0
arch/sh/include/asm/syscalls_32.h
arch/sh/include/asm/syscalls_32.h
+0
-1
arch/sh/kernel/signal_32.c
arch/sh/kernel/signal_32.c
+0
-11
arch/sh/kernel/signal_64.c
arch/sh/kernel/signal_64.c
+0
-11
No files found.
arch/sh/Kconfig
View file @
881e252d
...
@@ -41,6 +41,7 @@ config SUPERH
...
@@ -41,6 +41,7 @@ config SUPERH
select HAVE_MOD_ARCH_SPECIFIC if DWARF_UNWINDER
select HAVE_MOD_ARCH_SPECIFIC if DWARF_UNWINDER
select MODULES_USE_ELF_RELA
select MODULES_USE_ELF_RELA
select GENERIC_SIGALTSTACK
select GENERIC_SIGALTSTACK
select OLD_SIGSUSPEND
help
help
The SuperH is a RISC processor targeted for use in embedded systems
The SuperH is a RISC processor targeted for use in embedded systems
and consumer electronics; it was also used in the Sega Dreamcast
and consumer electronics; it was also used in the Sega Dreamcast
...
...
arch/sh/include/asm/syscalls_32.h
View file @
881e252d
...
@@ -9,7 +9,6 @@
...
@@ -9,7 +9,6 @@
struct
pt_regs
;
struct
pt_regs
;
asmlinkage
int
sys_sigsuspend
(
old_sigset_t
mask
);
asmlinkage
int
sys_sigaction
(
int
sig
,
const
struct
old_sigaction
__user
*
act
,
asmlinkage
int
sys_sigaction
(
int
sig
,
const
struct
old_sigaction
__user
*
act
,
struct
old_sigaction
__user
*
oact
);
struct
old_sigaction
__user
*
oact
);
asmlinkage
int
sys_sigreturn
(
unsigned
long
r4
,
unsigned
long
r5
,
asmlinkage
int
sys_sigreturn
(
unsigned
long
r4
,
unsigned
long
r5
,
...
...
arch/sh/kernel/signal_32.c
View file @
881e252d
...
@@ -46,17 +46,6 @@ struct fdpic_func_descriptor {
...
@@ -46,17 +46,6 @@ struct fdpic_func_descriptor {
*/
*/
#define UNWINDGUARD 64
#define UNWINDGUARD 64
/*
* Atomically swap in the new signal mask, and wait for a signal.
*/
asmlinkage
int
sys_sigsuspend
(
old_sigset_t
mask
)
{
sigset_t
blocked
;
siginitset
(
&
blocked
,
mask
);
return
sigsuspend
(
&
blocked
);
}
asmlinkage
int
asmlinkage
int
sys_sigaction
(
int
sig
,
const
struct
old_sigaction
__user
*
act
,
sys_sigaction
(
int
sig
,
const
struct
old_sigaction
__user
*
act
,
struct
old_sigaction
__user
*
oact
)
struct
old_sigaction
__user
*
oact
)
...
...
arch/sh/kernel/signal_64.c
View file @
881e252d
...
@@ -127,17 +127,6 @@ static void do_signal(struct pt_regs *regs)
...
@@ -127,17 +127,6 @@ static void do_signal(struct pt_regs *regs)
restore_saved_sigmask
();
restore_saved_sigmask
();
}
}
/*
* Atomically swap in the new signal mask, and wait for a signal.
*/
asmlinkage
int
sys_sigsuspend
(
old_sigset_t
mask
)
{
sigset_t
blocked
;
siginitset
(
&
blocked
,
mask
);
return
sigsuspend
(
&
blocked
);
}
asmlinkage
int
asmlinkage
int
sys_sigaction
(
int
sig
,
const
struct
old_sigaction
__user
*
act
,
sys_sigaction
(
int
sig
,
const
struct
old_sigaction
__user
*
act
,
struct
old_sigaction
__user
*
oact
)
struct
old_sigaction
__user
*
oact
)
...
...
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