diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/alpha/kernel/signal.c | 2 | ||||
-rw-r--r-- | arch/frv/kernel/signal.c | 2 | ||||
-rw-r--r-- | arch/h8300/kernel/signal.c | 2 | ||||
-rw-r--r-- | arch/m68k/kernel/signal.c | 2 | ||||
-rw-r--r-- | arch/m68knommu/kernel/signal.c | 2 | ||||
-rw-r--r-- | arch/parisc/kernel/signal.c | 2 | ||||
-rw-r--r-- | arch/sh64/kernel/signal.c | 2 | ||||
-rw-r--r-- | arch/v850/kernel/signal.c | 2 | ||||
-rw-r--r-- | arch/xtensa/kernel/signal.c | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/arch/alpha/kernel/signal.c b/arch/alpha/kernel/signal.c index 2e45e8604e32..741da0945dc4 100644 --- a/arch/alpha/kernel/signal.c +++ b/arch/alpha/kernel/signal.c | |||
@@ -375,7 +375,7 @@ give_sigsegv: | |||
375 | static inline void __user * | 375 | static inline void __user * |
376 | get_sigframe(struct k_sigaction *ka, unsigned long sp, size_t frame_size) | 376 | get_sigframe(struct k_sigaction *ka, unsigned long sp, size_t frame_size) |
377 | { | 377 | { |
378 | if ((ka->sa.sa_flags & SA_ONSTACK) != 0 && ! on_sig_stack(sp)) | 378 | if ((ka->sa.sa_flags & SA_ONSTACK) != 0 && ! sas_ss_flags(sp)) |
379 | sp = current->sas_ss_sp + current->sas_ss_size; | 379 | sp = current->sas_ss_sp + current->sas_ss_size; |
380 | 380 | ||
381 | return (void __user *)((sp - frame_size) & -32ul); | 381 | return (void __user *)((sp - frame_size) & -32ul); |
diff --git a/arch/frv/kernel/signal.c b/arch/frv/kernel/signal.c index dd5e6fdd85fd..b8a5882b8625 100644 --- a/arch/frv/kernel/signal.c +++ b/arch/frv/kernel/signal.c | |||
@@ -233,7 +233,7 @@ static inline void __user *get_sigframe(struct k_sigaction *ka, | |||
233 | 233 | ||
234 | /* This is the X/Open sanctioned signal stack switching. */ | 234 | /* This is the X/Open sanctioned signal stack switching. */ |
235 | if (ka->sa.sa_flags & SA_ONSTACK) { | 235 | if (ka->sa.sa_flags & SA_ONSTACK) { |
236 | if (! on_sig_stack(sp)) | 236 | if (! sas_ss_flags(sp)) |
237 | sp = current->sas_ss_sp + current->sas_ss_size; | 237 | sp = current->sas_ss_sp + current->sas_ss_size; |
238 | } | 238 | } |
239 | 239 | ||
diff --git a/arch/h8300/kernel/signal.c b/arch/h8300/kernel/signal.c index f13d5e82d4b9..7787f70a05bb 100644 --- a/arch/h8300/kernel/signal.c +++ b/arch/h8300/kernel/signal.c | |||
@@ -307,7 +307,7 @@ get_sigframe(struct k_sigaction *ka, struct pt_regs *regs, size_t frame_size) | |||
307 | 307 | ||
308 | /* This is the X/Open sanctioned signal stack switching. */ | 308 | /* This is the X/Open sanctioned signal stack switching. */ |
309 | if (ka->sa.sa_flags & SA_ONSTACK) { | 309 | if (ka->sa.sa_flags & SA_ONSTACK) { |
310 | if (!on_sig_stack(usp)) | 310 | if (!sas_ss_flags(usp)) |
311 | usp = current->sas_ss_sp + current->sas_ss_size; | 311 | usp = current->sas_ss_sp + current->sas_ss_size; |
312 | } | 312 | } |
313 | return (void *)((usp - frame_size) & -8UL); | 313 | return (void *)((usp - frame_size) & -8UL); |
diff --git a/arch/m68k/kernel/signal.c b/arch/m68k/kernel/signal.c index 866917bfa028..f9af893cd289 100644 --- a/arch/m68k/kernel/signal.c +++ b/arch/m68k/kernel/signal.c | |||
@@ -763,7 +763,7 @@ get_sigframe(struct k_sigaction *ka, struct pt_regs *regs, size_t frame_size) | |||
763 | 763 | ||
764 | /* This is the X/Open sanctioned signal stack switching. */ | 764 | /* This is the X/Open sanctioned signal stack switching. */ |
765 | if (ka->sa.sa_flags & SA_ONSTACK) { | 765 | if (ka->sa.sa_flags & SA_ONSTACK) { |
766 | if (!on_sig_stack(usp)) | 766 | if (!sas_ss_flags(usp)) |
767 | usp = current->sas_ss_sp + current->sas_ss_size; | 767 | usp = current->sas_ss_sp + current->sas_ss_size; |
768 | } | 768 | } |
769 | return (void __user *)((usp - frame_size) & -8UL); | 769 | return (void __user *)((usp - frame_size) & -8UL); |
diff --git a/arch/m68knommu/kernel/signal.c b/arch/m68knommu/kernel/signal.c index e1b3aa39e270..8e2c5a88efa7 100644 --- a/arch/m68knommu/kernel/signal.c +++ b/arch/m68knommu/kernel/signal.c | |||
@@ -553,7 +553,7 @@ get_sigframe(struct k_sigaction *ka, struct pt_regs *regs, size_t frame_size) | |||
553 | 553 | ||
554 | /* This is the X/Open sanctioned signal stack switching. */ | 554 | /* This is the X/Open sanctioned signal stack switching. */ |
555 | if (ka->sa.sa_flags & SA_ONSTACK) { | 555 | if (ka->sa.sa_flags & SA_ONSTACK) { |
556 | if (!on_sig_stack(usp)) | 556 | if (!sas_ss_flags(usp)) |
557 | usp = current->sas_ss_sp + current->sas_ss_size; | 557 | usp = current->sas_ss_sp + current->sas_ss_size; |
558 | } | 558 | } |
559 | return (void *)((usp - frame_size) & -8UL); | 559 | return (void *)((usp - frame_size) & -8UL); |
diff --git a/arch/parisc/kernel/signal.c b/arch/parisc/kernel/signal.c index 05767e83cf2d..cc38edfd90c5 100644 --- a/arch/parisc/kernel/signal.c +++ b/arch/parisc/kernel/signal.c | |||
@@ -248,7 +248,7 @@ get_sigframe(struct k_sigaction *ka, unsigned long sp, size_t frame_size) | |||
248 | DBG(1,"get_sigframe: ka = %#lx, sp = %#lx, frame_size = %#lx\n", | 248 | DBG(1,"get_sigframe: ka = %#lx, sp = %#lx, frame_size = %#lx\n", |
249 | (unsigned long)ka, sp, frame_size); | 249 | (unsigned long)ka, sp, frame_size); |
250 | 250 | ||
251 | if ((ka->sa.sa_flags & SA_ONSTACK) != 0 && ! on_sig_stack(sp)) | 251 | if ((ka->sa.sa_flags & SA_ONSTACK) != 0 && ! sas_ss_flags(sp)) |
252 | sp = current->sas_ss_sp; /* Stacks grow up! */ | 252 | sp = current->sas_ss_sp; /* Stacks grow up! */ |
253 | 253 | ||
254 | DBG(1,"get_sigframe: Returning sp = %#lx\n", (unsigned long)sp); | 254 | DBG(1,"get_sigframe: Returning sp = %#lx\n", (unsigned long)sp); |
diff --git a/arch/sh64/kernel/signal.c b/arch/sh64/kernel/signal.c index 3ea8929e483b..9e2ffc45c0e0 100644 --- a/arch/sh64/kernel/signal.c +++ b/arch/sh64/kernel/signal.c | |||
@@ -407,7 +407,7 @@ setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs, | |||
407 | static inline void __user * | 407 | static inline void __user * |
408 | get_sigframe(struct k_sigaction *ka, unsigned long sp, size_t frame_size) | 408 | get_sigframe(struct k_sigaction *ka, unsigned long sp, size_t frame_size) |
409 | { | 409 | { |
410 | if ((ka->sa.sa_flags & SA_ONSTACK) != 0 && ! on_sig_stack(sp)) | 410 | if ((ka->sa.sa_flags & SA_ONSTACK) != 0 && ! sas_ss_flags(sp)) |
411 | sp = current->sas_ss_sp + current->sas_ss_size; | 411 | sp = current->sas_ss_sp + current->sas_ss_size; |
412 | 412 | ||
413 | return (void __user *)((sp - frame_size) & -8ul); | 413 | return (void __user *)((sp - frame_size) & -8ul); |
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); |
diff --git a/arch/xtensa/kernel/signal.c b/arch/xtensa/kernel/signal.c index beba497e78df..c494f0826fc5 100644 --- a/arch/xtensa/kernel/signal.c +++ b/arch/xtensa/kernel/signal.c | |||
@@ -433,7 +433,7 @@ badframe: | |||
433 | static inline void * | 433 | static inline void * |
434 | get_sigframe(struct k_sigaction *ka, unsigned long sp, size_t frame_size) | 434 | get_sigframe(struct k_sigaction *ka, unsigned long sp, size_t frame_size) |
435 | { | 435 | { |
436 | if ((ka->sa.sa_flags & SA_ONSTACK) != 0 && ! on_sig_stack(sp)) | 436 | if ((ka->sa.sa_flags & SA_ONSTACK) != 0 && ! sas_ss_flags(sp)) |
437 | sp = current->sas_ss_sp + current->sas_ss_size; | 437 | sp = current->sas_ss_sp + current->sas_ss_size; |
438 | 438 | ||
439 | return (void *)((sp - frame_size) & -16ul); | 439 | return (void *)((sp - frame_size) & -16ul); |