Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 163313
b: refs/heads/master
c: c63c310
h: refs/heads/master
i:
  163311: 9187d33
v: v3
  • Loading branch information
Paul Mundt committed Jul 4, 2009
1 parent b17bc59 commit 09f803f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 1ecc6ab669e7e82603c60e692566d2d592cb8fb4
refs/heads/master: c63c3105e4991b2991ba73a742b8b59bfdbe4acd
4 changes: 1 addition & 3 deletions trunk/arch/sh/mm/fault_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,12 @@ static inline int notify_page_fault(struct pt_regs *regs, int trap)
{
int ret = 0;

#ifdef CONFIG_KPROBES
if (!user_mode(regs)) {
if (kprobes_built_in() && !user_mode(regs)) {
preempt_disable();
if (kprobe_running() && kprobe_fault_handler(regs, trap))
ret = 1;
preempt_enable();
}
#endif

return ret;
}
Expand Down

0 comments on commit 09f803f

Please sign in to comment.