]> err.no Git - linux-2.6/commit
[PATCH] kprobes: cleanup include/asm/kprobes.h
authorAnil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
Tue, 10 Jan 2006 04:52:42 +0000 (20:52 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 10 Jan 2006 16:01:40 +0000 (08:01 -0800)
commit41dead49ccb4d7f0a34d56478f487342a3c3ab2b
tree6782eeedac60688b328394971066dad1b6bfa302
parent2d14e39da8712cff8a92298f464a25afb4283ccf
[PATCH] kprobes: cleanup include/asm/kprobes.h

The arch specific kprobes.h files never gets included when CONFIG_KPROBES is
turned off.  Hence check for CONFIG_KPROBES is not appropriate here in this
arch specific kprobes.h files.

Also the below defined function kprobes_exception_notify() is not needed when
CONFIG_KPROBES is off.

Compile tested for both CONFIG_KPROBES=y and N.

Signed-off-by: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-i386/kprobes.h
include/asm-ia64/kprobes.h
include/asm-powerpc/kprobes.h
include/asm-sparc64/kprobes.h