diff options
author | Oleg Nesterov <oleg@redhat.com> | 2013-11-09 19:49:39 +0100 |
---|---|---|
committer | Oleg Nesterov <oleg@redhat.com> | 2013-11-20 16:31:01 +0100 |
commit | c912dae60ae6f659455f239298110adc67a5f3e9 (patch) | |
tree | 1997566bb556e768f12881dd39d1d1036ef9e5b5 /block | |
parent | 3d78e945b6249d4ef2308192343f8b203b1d7ea5 (diff) | |
download | lwn-c912dae60ae6f659455f239298110adc67a5f3e9.tar.gz lwn-c912dae60ae6f659455f239298110adc67a5f3e9.zip |
uprobes: Cleanup !CONFIG_UPROBES decls, unexport xol_area
1. Don't include asm/uprobes.h unconditionally, we only need
it if CONFIG_UPROBES.
2. Move the definition of "struct xol_area" into uprobes.c.
Perhaps we should simply kill struct uprobes_state, it buys
nothing.
3. Kill the dummy definition of uprobe_get_swbp_addr(), nobody
except handle_swbp() needs it.
4. Purely cosmetic, but move the decl of uprobe_get_swbp_addr()
up, close to other __weak helpers.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions