From: Ingo Molnar Date: Fri, 20 Feb 2009 21:42:57 +0000 (+0100) Subject: x86, mm, kprobes: fault.c, simplify notify_page_fault() X-Git-Tag: v2.6.30-rc1~211^2~43^5~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b18018126f422f5b706fd750373425e10e84b486;p=pandora-kernel.git x86, mm, kprobes: fault.c, simplify notify_page_fault() Impact: cleanup Remove an #ifdef from notify_page_fault(). The function still compiles to nothing in the !CONFIG_KPROBES case. Introduce kprobes_built_in() and kprobe_fault_handler() helpers to allow this - they returns 0 if !CONFIG_KPROBES. No code changed: text data bss dec hex filename 4618 32 24 4674 1242 fault.o.before 4618 32 24 4674 1242 fault.o.after Cc: Masami Hiramatsu Cc: Andrew Morton Cc: Linus Torvalds Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed