Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 356693
b: refs/heads/master
c: c886a9f
h: refs/heads/master
i:
  356691: a8c0c88
v: v3
  • Loading branch information
Al Viro committed Feb 3, 2013
1 parent 162523b commit 0478a57
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4a9d32d377e1facca204cc1c6856406be8b53fa3
refs/heads/master: c886a9fc1f69c0e53788a9c4a780b6b8825bd4ab
3 changes: 3 additions & 0 deletions trunk/arch/microblaze/kernel/entry-nommu.S
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,8 @@ ENTRY(ret_from_kernel_thread)
addk r3, r0, r0

work_pending:
lwi r11, r1, PT_MODE
bneid r11, 2f
enable_irq

andi r11, r19, _TIF_NEED_RESCHED
Expand All @@ -507,6 +509,7 @@ ENTRY(ret_to_user)
no_work_pending:
disable_irq

2:
/* save r31 */
swi r31, r0, PER_CPU(CURRENT_SAVE)
/* save mode indicator */
Expand Down
9 changes: 0 additions & 9 deletions trunk/arch/microblaze/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -343,15 +343,6 @@ static void do_signal(struct pt_regs *regs, int in_syscall)

asmlinkage void do_notify_resume(struct pt_regs *regs, int in_syscall)
{
/*
* We want the common case to go fast, which
* is why we may in certain cases get here from
* kernel mode. Just return without doing anything
* if so.
*/
if (kernel_mode(regs))
return;

if (test_thread_flag(TIF_SIGPENDING))
do_signal(regs, in_syscall);

Expand Down

0 comments on commit 0478a57

Please sign in to comment.