]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
[IA64] sanity in #include files. Move fnptr to types.h
authorTony Luck <tony.luck@intel.com>
Wed, 6 Jan 2010 23:52:35 +0000 (15:52 -0800)
committerTony Luck <tony.luck@intel.com>
Wed, 6 Jan 2010 23:52:35 +0000 (15:52 -0800)
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/include/asm/ftrace.h
arch/ia64/include/asm/kprobes.h
arch/ia64/include/asm/types.h

index d20db3c2a656719cc44a3ee3a9559737234c7a4b..fbd1a2470cae0cc9152621a3765814cbd53c2858 100644 (file)
@@ -8,7 +8,6 @@
 extern void _mcount(unsigned long pfs, unsigned long r1, unsigned long b0, unsigned long r0);
 #define mcount _mcount
 
-#include <asm/kprobes.h>
 /* In IA64, MCOUNT_ADDR is set in link time, so it's not a constant at compile time */
 #define MCOUNT_ADDR (((struct fnptr *)mcount)->ip)
 #define FTRACE_ADDR (((struct fnptr *)ftrace_caller)->ip)
index dbf83fb28db318849f3a148d215e4977d6fd1760..d5505d6f2382bd00d298639595730000b9347021 100644 (file)
@@ -103,11 +103,6 @@ typedef struct kprobe_opcode {
        bundle_t bundle;
 } kprobe_opcode_t;
 
-struct fnptr {
-       unsigned long ip;
-       unsigned long gp;
-};
-
 /* Architecture specific copy of original instruction*/
 struct arch_specific_insn {
        /* copy of the instruction to be emulated */
index bcd260e597de32aa0a99e637cc0e01338ea721ae..b8e5d97be158a5b03797479b1ea6c202a38556c8 100644 (file)
 
 typedef unsigned int umode_t;
 
+struct fnptr {
+       unsigned long ip;
+       unsigned long gp;
+};
+
 /*
  * These aren't exported outside the kernel to avoid name space clashes
  */