diff options
Diffstat (limited to 'arch/powerpc/kernel/signal.c')
-rw-r--r-- | arch/powerpc/kernel/signal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/signal.c b/arch/powerpc/kernel/signal.c index a54405ebd7b0..00b5078da9a3 100644 --- a/arch/powerpc/kernel/signal.c +++ b/arch/powerpc/kernel/signal.c | |||
@@ -26,12 +26,12 @@ int show_unhandled_signals = 0; | |||
26 | * Allocate space for the signal frame | 26 | * Allocate space for the signal frame |
27 | */ | 27 | */ |
28 | void __user * get_sigframe(struct k_sigaction *ka, struct pt_regs *regs, | 28 | void __user * get_sigframe(struct k_sigaction *ka, struct pt_regs *regs, |
29 | size_t frame_size) | 29 | size_t frame_size, int is_32) |
30 | { | 30 | { |
31 | unsigned long oldsp, newsp; | 31 | unsigned long oldsp, newsp; |
32 | 32 | ||
33 | /* Default to using normal stack */ | 33 | /* Default to using normal stack */ |
34 | oldsp = regs->gpr[1]; | 34 | oldsp = get_clean_sp(regs, is_32); |
35 | 35 | ||
36 | /* Check for alt stack */ | 36 | /* Check for alt stack */ |
37 | if ((ka->sa.sa_flags & SA_ONSTACK) && | 37 | if ((ka->sa.sa_flags & SA_ONSTACK) && |