Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 334759
b: refs/heads/master
c: e97f65a
h: refs/heads/master
i:
  334757: eae6aba
  334755: 99ed203
  334751: 2ffe32e
v: v3
  • Loading branch information
Oleg Nesterov committed Sep 29, 2012
1 parent 9ffaeaa commit 892786c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 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: e40cfce626a5537994058ee9a940dcfdc0f68ef0
refs/heads/master: e97f65a17deafacc360a4cb75ae944897ecea6d7
11 changes: 0 additions & 11 deletions trunk/kernel/events/uprobes.c
Original file line number Diff line number Diff line change
Expand Up @@ -321,17 +321,6 @@ static int is_swbp_at_addr(struct mm_struct *mm, unsigned long vaddr)
*/
int __weak set_swbp(struct arch_uprobe *auprobe, struct mm_struct *mm, unsigned long vaddr)
{
int result;
/*
* See the comment near uprobes_hash().
*/
result = is_swbp_at_addr(mm, vaddr);
if (result == 1)
return 0;

if (result)
return result;

return write_opcode(auprobe, mm, vaddr, UPROBE_SWBP_INSN);
}

Expand Down

0 comments on commit 892786c

Please sign in to comment.