diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-02-20 21:42:57 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-20 23:09:42 (GMT) |
commit | b18018126f422f5b706fd750373425e10e84b486 (patch) | |
tree | e3e4954ca44999b25475307afb0653eed39ff63f /fs | |
parent | b814d41f0987c7648d7ed07471258101c95c026b (diff) | |
download | linux-fsl-qoriq-b18018126f422f5b706fd750373425e10e84b486.tar.xz |
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 <mhiramat@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions