Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156088
b: refs/heads/master
c: ec30c5f
h: refs/heads/master
v: v3
  • Loading branch information
Masami Hiramatsu authored and Linus Torvalds committed Jul 30, 2009
1 parent 2e973d7 commit 86f98d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 90a09c9cf78344d18e2438c3b87363b949629fa3
refs/heads/master: ec30c5f3a18722f8fcf8c83146a10b03ac4d9ff1
2 changes: 1 addition & 1 deletion trunk/kernel/kprobes.c
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ int __kprobes register_kprobe(struct kprobe *p)
p->addr = addr;

preempt_disable();
if (!__kernel_text_address((unsigned long) p->addr) ||
if (!kernel_text_address((unsigned long) p->addr) ||
in_kprobes_functions((unsigned long) p->addr)) {
preempt_enable();
return -EINVAL;
Expand Down

0 comments on commit 86f98d8

Please sign in to comment.