diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2015-02-23 05:46:21 -0500 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-11 22:24:31 -0400 |
| commit | 74008b365dcb921781f7430c1fc279be7778327b (patch) | |
| tree | d601ad67cae3c3f9a10af900eecbf330e956b83e /arch/microblaze/kernel | |
| parent | a555ad450f973528825201a5fedbe46374f86644 (diff) | |
whack-a-mole: there's no point doing set_fs(USER_DS) in sigframe setup
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/microblaze/kernel')
| -rw-r--r-- | arch/microblaze/kernel/signal.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/microblaze/kernel/signal.c b/arch/microblaze/kernel/signal.c index a1cbaf90e2ea..20ccd4e2baa5 100644 --- a/arch/microblaze/kernel/signal.c +++ b/arch/microblaze/kernel/signal.c | |||
| @@ -236,8 +236,6 @@ static int setup_rt_frame(struct ksignal *ksig, sigset_t *set, | |||
| 236 | /* Offset to handle microblaze rtid r14, 0 */ | 236 | /* Offset to handle microblaze rtid r14, 0 */ |
| 237 | regs->pc = (unsigned long)ksig->ka.sa.sa_handler; | 237 | regs->pc = (unsigned long)ksig->ka.sa.sa_handler; |
| 238 | 238 | ||
| 239 | set_fs(USER_DS); | ||
| 240 | |||
| 241 | #ifdef DEBUG_SIG | 239 | #ifdef DEBUG_SIG |
| 242 | pr_info("SIG deliver (%s:%d): sp=%p pc=%08lx\n", | 240 | pr_info("SIG deliver (%s:%d): sp=%p pc=%08lx\n", |
| 243 | current->comm, current->pid, frame, regs->pc); | 241 | current->comm, current->pid, frame, regs->pc); |
