Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26286
b: refs/heads/master
c: bf66198
h: refs/heads/master
v: v3
  • Loading branch information
mao, bibo authored and Linus Torvalds committed Apr 28, 2006
1 parent 5987dbb commit 6d5f4d8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition 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: 9539d4e79fae8482bc64ced03a46c7c6d711d19e
refs/heads/master: bf661987da6f5131475dfe3f51a98de4e2589ed3
9 changes: 0 additions & 9 deletions trunk/arch/i386/kernel/kprobes.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,6 @@ static int __kprobes kprobe_handler(struct pt_regs *regs)
kcb->kprobe_status = KPROBE_REENTER;
return 1;
} else {
if (regs->eflags & VM_MASK) {
/* We are in virtual-8086 mode. Return 0 */
goto no_kprobe;
}
if (*addr != BREAKPOINT_INSTRUCTION) {
/* The breakpoint instruction was removed by
* another cpu right after we hit, no further
Expand All @@ -265,11 +261,6 @@ static int __kprobes kprobe_handler(struct pt_regs *regs)

p = get_kprobe(addr);
if (!p) {
if (regs->eflags & VM_MASK) {
/* We are in virtual-8086 mode. Return 0 */
goto no_kprobe;
}

if (*addr != BREAKPOINT_INSTRUCTION) {
/*
* The breakpoint instruction was removed right
Expand Down

0 comments on commit 6d5f4d8

Please sign in to comment.