aboutsummaryrefslogtreecommitdiffstats
path: root/arch/v850/kernel/signal.c
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2006-06-23 16:46:23 -0400
committerTony Luck <tony.luck@intel.com>2006-06-23 16:46:23 -0400
commit8cf60e04a131310199d5776e2f9e915f0c468899 (patch)
tree373a68e88e6737713a0a5723d552cdeefffff929 /arch/v850/kernel/signal.c
parent1323523f505606cfd24af6122369afddefc3b09d (diff)
parent95eaa5fa8eb2c345244acd5f65b200b115ae8c65 (diff)
Auto-update from upstream
Diffstat (limited to 'arch/v850/kernel/signal.c')
-rw-r--r--arch/v850/kernel/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/v850/kernel/signal.c b/arch/v850/kernel/signal.c
index 633e4e1b825f..17c2d4359b04 100644
--- a/arch/v850/kernel/signal.c
+++ b/arch/v850/kernel/signal.c
@@ -274,7 +274,7 @@ get_sigframe(struct k_sigaction *ka, struct pt_regs *regs, size_t frame_size)
274 /* Default to using normal stack */ 274 /* Default to using normal stack */
275 unsigned long sp = regs->gpr[GPR_SP]; 275 unsigned long sp = regs->gpr[GPR_SP];
276 276
277 if ((ka->sa.sa_flags & SA_ONSTACK) != 0 && ! on_sig_stack(sp)) 277 if ((ka->sa.sa_flags & SA_ONSTACK) != 0 && ! sas_ss_flags(sp))
278 sp = current->sas_ss_sp + current->sas_ss_size; 278 sp = current->sas_ss_sp + current->sas_ss_size;
279 279
280 return (void *)((sp - frame_size) & -8UL); 280 return (void *)((sp - frame_size) & -8UL);