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
0980caea
Commit
0980caea
authored
Dec 25, 2012
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
powerpc: switch to generic old sigsuspend
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
309e44b3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
11 deletions
+2
-11
arch/powerpc/Kconfig
arch/powerpc/Kconfig
+1
-0
arch/powerpc/include/asm/systbl.h
arch/powerpc/include/asm/systbl.h
+1
-0
arch/powerpc/kernel/signal_32.c
arch/powerpc/kernel/signal_32.c
+0
-11
No files found.
arch/powerpc/Kconfig
View file @
0980caea
...
...
@@ -148,6 +148,7 @@ config PPC
select GENERIC_COMPAT_RT_SIGQUEUEINFO
select GENERIC_COMPAT_RT_SIGPROCMASK
select GENERIC_COMPAT_RT_SIGPENDING
select OLD_SIGSUSPEND
config EARLY_PRINTK
bool
...
...
arch/powerpc/include/asm/systbl.h
View file @
0980caea
...
...
@@ -75,6 +75,7 @@ SYSCALL_SPU(sgetmask)
COMPAT_SYS_SPU
(
ssetmask
)
SYSCALL_SPU
(
setreuid
)
SYSCALL_SPU
(
setregid
)
#define compat_sys_sigsuspend sys_sigsuspend
SYS32ONLY
(
sigsuspend
)
COMPAT_SYS
(
sigpending
)
COMPAT_SYS_SPU
(
sethostname
)
...
...
arch/powerpc/kernel/signal_32.c
View file @
0980caea
...
...
@@ -56,7 +56,6 @@
#undef DEBUG_SIG
#ifdef CONFIG_PPC64
#define sys_sigsuspend compat_sys_sigsuspend
#define sys_rt_sigreturn compat_sys_rt_sigreturn
#define sys_sigaction compat_sys_sigaction
#define sys_swapcontext compat_sys_swapcontext
...
...
@@ -238,16 +237,6 @@ static inline int restore_general_regs(struct pt_regs *regs,
#endif
/* CONFIG_PPC64 */
/*
* Atomically swap in the new signal mask, and wait for a signal.
*/
long
sys_sigsuspend
(
old_sigset_t
mask
)
{
sigset_t
blocked
;
siginitset
(
&
blocked
,
mask
);
return
sigsuspend
(
&
blocked
);
}
long
sys_sigaction
(
int
sig
,
struct
old_sigaction
__user
*
act
,
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