From: Oleg Nesterov Date: Sat, 9 Nov 2013 18:49:39 +0000 (+0100) Subject: uprobes: Cleanup !CONFIG_UPROBES decls, unexport xol_area X-Git-Tag: v3.14-rc1~171^2~24^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c912dae60ae6f659455f239298110adc67a5f3e9;p=pandora-kernel.git 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 Acked-by: Srikar Dronamraju --- Reading git-diff-tree failed