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
52ad6b3f
Commit
52ad6b3f
authored
Dec 25, 2012
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sparc: switch to generic old sigsuspend
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
7540c8eb
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
15 deletions
+1
-15
arch/sparc/Kconfig
arch/sparc/Kconfig
+1
-0
arch/sparc/kernel/signal_32.c
arch/sparc/kernel/signal_32.c
+0
-7
arch/sparc/kernel/signal_64.c
arch/sparc/kernel/signal_64.c
+0
-7
arch/sparc/kernel/systbls.h
arch/sparc/kernel/systbls.h
+0
-1
No files found.
arch/sparc/Kconfig
View file @
52ad6b3f
...
...
@@ -47,6 +47,7 @@ config SPARC
select GENERIC_COMPAT_RT_SIGPROCMASK
select GENERIC_COMPAT_RT_SIGPENDING
select GENERIC_COMPAT_RT_SIGACTION
select OLD_SIGSUSPEND
config SPARC32
def_bool !64BIT
...
...
arch/sparc/kernel/signal_32.c
View file @
52ad6b3f
...
...
@@ -59,13 +59,6 @@ struct rt_signal_frame {
#define SF_ALIGNEDSZ (((sizeof(struct signal_frame) + 7) & (~7)))
#define RT_ALIGNEDSZ (((sizeof(struct rt_signal_frame) + 7) & (~7)))
asmlinkage
int
sys_sigsuspend
(
old_sigset_t
set
)
{
sigset_t
blocked
;
siginitset
(
&
blocked
,
set
);
return
sigsuspend
(
&
blocked
);
}
asmlinkage
void
do_sigreturn
(
struct
pt_regs
*
regs
)
{
struct
signal_frame
__user
*
sf
;
...
...
arch/sparc/kernel/signal_64.c
View file @
52ad6b3f
...
...
@@ -236,13 +236,6 @@ struct rt_signal_frame {
__siginfo_rwin_t
*
rwin_save
;
};
asmlinkage
long
sys_sigsuspend
(
old_sigset_t
set
)
{
sigset_t
blocked
;
siginitset
(
&
blocked
,
set
);
return
sigsuspend
(
&
blocked
);
}
void
do_rt_sigreturn
(
struct
pt_regs
*
regs
)
{
struct
rt_signal_frame
__user
*
sf
;
...
...
arch/sparc/kernel/systbls.h
View file @
52ad6b3f
...
...
@@ -36,7 +36,6 @@ extern asmlinkage long sys_rt_sigaction(int sig,
extern
asmlinkage
void
sparc64_set_context
(
struct
pt_regs
*
regs
);
extern
asmlinkage
void
sparc64_get_context
(
struct
pt_regs
*
regs
);
extern
asmlinkage
long
sys_sigsuspend
(
old_sigset_t
set
);
extern
void
do_rt_sigreturn
(
struct
pt_regs
*
regs
);
#endif
/* _SYSTBLS_H */
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