diff options
author | Oleg Nesterov <oleg@redhat.com> | 2012-09-23 19:55:19 (GMT) |
---|---|---|
committer | Oleg Nesterov <oleg@redhat.com> | 2012-09-29 19:21:54 (GMT) |
commit | ec75fba93ef0c00c91545b5e53841a80cffad0c4 (patch) | |
tree | e71ccd7816177b80bfffaf80f6ff7039acc92dda /arch/x86/kernel/uprobes.c | |
parent | ed6f6a50dc5f183c53e7b3b7fed4794bc50d9aa7 (diff) | |
download | linux-ec75fba93ef0c00c91545b5e53841a80cffad0c4.tar.xz |
uprobes: Simplify is_swbp_at_addr(), remove stale comments
After the previous change is_swbp_at_addr() is always called with
current->mm. Remove this check and move it close to its single caller.
Also, remove the obsolete comment about is_swbp_at_addr() and
uprobe_state.count.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Diffstat (limited to 'arch/x86/kernel/uprobes.c')
0 files changed, 0 insertions, 0 deletions