Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 182178
b: refs/heads/master
c: 22e0a04
h: refs/heads/master
v: v3
  • Loading branch information
Heiko Carstens authored and Martin Schwidefsky committed Feb 26, 2010
1 parent 3bb85db commit 8447a51
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: 52499f40267e1178b3b2c887aee85c0c9fd01ec0
refs/heads/master: 22e0a0467292222214d1974d9bc2664a6c05980d
4 changes: 1 addition & 3 deletions trunk/arch/s390/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,13 @@ static inline int notify_page_fault(struct pt_regs *regs)
{
int ret = 0;

#ifdef CONFIG_KPROBES
/* kprobe_running() needs smp_processor_id() */
if (!user_mode(regs)) {
if (kprobes_built_in() && !user_mode(regs)) {
preempt_disable();
if (kprobe_running() && kprobe_fault_handler(regs, 14))
ret = 1;
preempt_enable();
}
#endif
return ret;
}

Expand Down

0 comments on commit 8447a51

Please sign in to comment.