The structure in the x86 jump label code uses the typedef jump_label_t,
which is defined by the #ifdef arch type. The structure does not need
to be duplicated there.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
#endif /* __KERNEL__ */
#ifdef CONFIG_X86_64
-
typedef u64 jump_label_t;
-
-struct jump_entry {
- jump_label_t code;
- jump_label_t target;
- jump_label_t key;
-};
-
#else
-
typedef u32 jump_label_t;
+#endif
struct jump_entry {
jump_label_t code;
};
#endif
-
-#endif