diff options
author | Oleg Nesterov <oleg@redhat.com> | 2012-09-23 21:55:19 +0200 |
---|---|---|
committer | Anton Arapov <anton@redhat.com> | 2012-10-29 11:50:16 +0100 |
commit | 21e7e37b66c7a1b30046601bd5d1bab07bbdd5a8 (patch) | |
tree | d5a78953669b70ae6b017d0157265b3885ddb0fc /arch/x86/kernel/uprobes.c | |
parent | 2943fbbe0cfe8e37290179c064c7685cc1248f28 (diff) | |
download | kernel-uprobes-21e7e37b66c7a1b30046601bd5d1bab07bbdd5a8.tar.gz kernel-uprobes-21e7e37b66c7a1b30046601bd5d1bab07bbdd5a8.tar.xz kernel-uprobes-21e7e37b66c7a1b30046601bd5d1bab07bbdd5a8.zip |
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