Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[IA64] sanity in #include files. Move fnptr to types.h

Signed-off-by: Tony Luck <tony.luck@intel.com>

Tony Luck 410dc0aa 02b763b8

+5 -6
-1
arch/ia64/include/asm/ftrace.h
··· 8 8 extern void _mcount(unsigned long pfs, unsigned long r1, unsigned long b0, unsigned long r0); 9 9 #define mcount _mcount 10 10 11 - #include <asm/kprobes.h> 12 11 /* In IA64, MCOUNT_ADDR is set in link time, so it's not a constant at compile time */ 13 12 #define MCOUNT_ADDR (((struct fnptr *)mcount)->ip) 14 13 #define FTRACE_ADDR (((struct fnptr *)ftrace_caller)->ip)
-5
arch/ia64/include/asm/kprobes.h
··· 103 103 bundle_t bundle; 104 104 } kprobe_opcode_t; 105 105 106 - struct fnptr { 107 - unsigned long ip; 108 - unsigned long gp; 109 - }; 110 - 111 106 /* Architecture specific copy of original instruction*/ 112 107 struct arch_specific_insn { 113 108 /* copy of the instruction to be emulated */
+5
arch/ia64/include/asm/types.h
··· 30 30 31 31 typedef unsigned int umode_t; 32 32 33 + struct fnptr { 34 + unsigned long ip; 35 + unsigned long gp; 36 + }; 37 + 33 38 /* 34 39 * These aren't exported outside the kernel to avoid name space clashes 35 40 */