Anil S Keshavamurthy 2d14e39da8 [PATCH] kprobes: enable funcions only for required arch
Kernel/kprobes.c defines get_insn_slot() and free_insn_slot() which are
currently required _only_ for x86_64 and powerpc (which has no-exec support).

FYI, get{free}_insn_slot() functions manages the memory page which is mapped
as executable, required for instruction emulation.

This patch moves those two functions under __ARCH_WANT_KPROBES_INSN_SLOT and
defines __ARCH_WANT_KPROBES_INSN_SLOT in arch specific kprobes.h file.

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>
2006-01-10 08:01:39 -08:00
..
2006-01-10 08:01:34 -08:00
2006-01-10 08:01:34 -08:00
2006-01-10 08:01:34 -08:00
2006-01-10 08:01:34 -08:00
2006-01-10 08:01:34 -08:00
2006-01-10 08:01:34 -08:00
2006-01-10 08:01:34 -08:00
2006-01-10 08:01:34 -08:00
2006-01-10 08:01:34 -08:00
2006-01-10 08:01:34 -08:00
2006-01-10 08:01:34 -08:00
2006-01-10 08:01:34 -08:00
2006-01-10 08:01:34 -08:00
2006-01-10 08:01:34 -08:00
2006-01-10 08:01:25 -08:00
2006-01-10 08:01:34 -08:00
2006-01-10 08:01:34 -08:00
2006-01-06 08:33:29 -08:00
2006-01-10 08:01:39 -08:00
2006-01-09 10:00:36 -08:00