Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 68292
b: refs/heads/master
c: e513768
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mundt committed Sep 28, 2007
1 parent 6efeb1d commit 750a06c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 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: 023ef184fff6ac2e7cba345708f35536a2a419cb
refs/heads/master: e5137682a1ad48bc5306070935c277e262f119ef
10 changes: 3 additions & 7 deletions trunk/arch/sh/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -509,11 +509,8 @@ handle_signal(unsigned long sig, struct k_sigaction *ka, siginfo_t *info,
}
} else {
/* gUSA handling */
#ifdef CONFIG_PREEMPT
unsigned long flags;
preempt_disable();

local_irq_save(flags);
#endif
if (regs->regs[15] >= 0xc0000000) {
int offset = (int)regs->regs[15];

Expand All @@ -524,9 +521,8 @@ handle_signal(unsigned long sig, struct k_sigaction *ka, siginfo_t *info,
regs->pc = regs->regs[0] + offset -
instruction_size(ctrl_inw(regs->pc-4));
}
#ifdef CONFIG_PREEMPT
local_irq_restore(flags);
#endif

preempt_enable_no_resched();
}

/* Set up the stack frame */
Expand Down

0 comments on commit 750a06c

Please sign in to comment.