aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/signal_64.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel/signal_64.c')
-rw-r--r--arch/powerpc/kernel/signal_64.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/powerpc/kernel/signal_64.c b/arch/powerpc/kernel/signal_64.c
index 817f1cf4a405..7e9c4b7e7e82 100644
--- a/arch/powerpc/kernel/signal_64.c
+++ b/arch/powerpc/kernel/signal_64.c
@@ -38,8 +38,6 @@
38 38
39#define DEBUG_SIG 0 39#define DEBUG_SIG 0
40 40
41#define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
42
43#define GP_REGS_SIZE min(sizeof(elf_gregset_t), sizeof(struct pt_regs)) 41#define GP_REGS_SIZE min(sizeof(elf_gregset_t), sizeof(struct pt_regs))
44#define FP_REGS_SIZE sizeof(elf_fpregset_t) 42#define FP_REGS_SIZE sizeof(elf_fpregset_t)
45 43
@@ -243,19 +241,6 @@ static long setup_trampoline(unsigned int syscall, unsigned int __user *tramp)
243} 241}
244 242
245/* 243/*
246 * Restore the user process's signal mask (also used by signal32.c)
247 */
248void restore_sigmask(sigset_t *set)
249{
250 sigdelsetmask(set, ~_BLOCKABLE);
251 spin_lock_irq(&current->sighand->siglock);
252 current->blocked = *set;
253 recalc_sigpending();
254 spin_unlock_irq(&current->sighand->siglock);
255}
256
257
258/*
259 * Handle {get,set,swap}_context operations 244 * Handle {get,set,swap}_context operations
260 */ 245 */
261int sys_swapcontext(struct ucontext __user *old_ctx, 246int sys_swapcontext(struct ucontext __user *old_ctx,