···88extern void _mcount(unsigned long pfs, unsigned long r1, unsigned long b0, unsigned long r0);99#define mcount _mcount10101111-#include <asm/kprobes.h>1211/* In IA64, MCOUNT_ADDR is set in link time, so it's not a constant at compile time */1312#define MCOUNT_ADDR (((struct fnptr *)mcount)->ip)1413#define FTRACE_ADDR (((struct fnptr *)ftrace_caller)->ip)
-5
arch/ia64/include/asm/kprobes.h
···103103 bundle_t bundle;104104} kprobe_opcode_t;105105106106-struct fnptr {107107- unsigned long ip;108108- unsigned long gp;109109-};110110-111106/* Architecture specific copy of original instruction*/112107struct arch_specific_insn {113108 /* copy of the instruction to be emulated */
+5
arch/ia64/include/asm/types.h
···30303131typedef unsigned int umode_t;32323333+struct fnptr {3434+ unsigned long ip;3535+ unsigned long gp;3636+};3737+3338/*3439 * These aren't exported outside the kernel to avoid name space clashes3540 */