diff options
Diffstat (limited to 'arch/xtensa/kernel/signal.c')
| -rw-r--r-- | arch/xtensa/kernel/signal.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/xtensa/kernel/signal.c b/arch/xtensa/kernel/signal.c index 63c566f627bc..de34d6be91cd 100644 --- a/arch/xtensa/kernel/signal.c +++ b/arch/xtensa/kernel/signal.c | |||
| @@ -212,7 +212,7 @@ restore_sigcontext(struct pt_regs *regs, struct rt_sigframe __user *frame) | |||
| 212 | if (err) | 212 | if (err) |
| 213 | return err; | 213 | return err; |
| 214 | 214 | ||
| 215 | /* The signal handler may have used coprocessors in which | 215 | /* The signal handler may have used coprocessors in which |
| 216 | * case they are still enabled. We disable them to force a | 216 | * case they are still enabled. We disable them to force a |
| 217 | * reloading of the original task's CP state by the lazy | 217 | * reloading of the original task's CP state by the lazy |
| 218 | * context-switching mechanisms of CP exception handling. | 218 | * context-switching mechanisms of CP exception handling. |
| @@ -396,7 +396,7 @@ static int setup_frame(int sig, struct k_sigaction *ka, siginfo_t *info, | |||
| 396 | */ | 396 | */ |
| 397 | 397 | ||
| 398 | /* Set up registers for signal handler */ | 398 | /* Set up registers for signal handler */ |
| 399 | start_thread(regs, (unsigned long) ka->sa.sa_handler, | 399 | start_thread(regs, (unsigned long) ka->sa.sa_handler, |
| 400 | (unsigned long) frame); | 400 | (unsigned long) frame); |
| 401 | 401 | ||
| 402 | /* Set up a stack frame for a call4 | 402 | /* Set up a stack frame for a call4 |
| @@ -424,9 +424,9 @@ give_sigsegv: | |||
| 424 | return -EFAULT; | 424 | return -EFAULT; |
| 425 | } | 425 | } |
| 426 | 426 | ||
| 427 | asmlinkage long xtensa_sigaltstack(const stack_t __user *uss, | 427 | asmlinkage long xtensa_sigaltstack(const stack_t __user *uss, |
| 428 | stack_t __user *uoss, | 428 | stack_t __user *uoss, |
| 429 | long a2, long a3, long a4, long a5, | 429 | long a2, long a3, long a4, long a5, |
| 430 | struct pt_regs *regs) | 430 | struct pt_regs *regs) |
| 431 | { | 431 | { |
| 432 | return do_sigaltstack(uss, uoss, regs->areg[1]); | 432 | return do_sigaltstack(uss, uoss, regs->areg[1]); |
