Commit 95fccd46 authored by Steven Rostedt's avatar Steven Rostedt Committed by Steven Rostedt

jump label: Remove duplicate structure for x86

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: default avatarSteven Rostedt <rostedt@goodmis.org>
parent dff9d3c2
...@@ -23,18 +23,10 @@ ...@@ -23,18 +23,10 @@
#endif /* __KERNEL__ */ #endif /* __KERNEL__ */
#ifdef CONFIG_X86_64 #ifdef CONFIG_X86_64
typedef u64 jump_label_t; typedef u64 jump_label_t;
struct jump_entry {
jump_label_t code;
jump_label_t target;
jump_label_t key;
};
#else #else
typedef u32 jump_label_t; typedef u32 jump_label_t;
#endif
struct jump_entry { struct jump_entry {
jump_label_t code; jump_label_t code;
...@@ -43,5 +35,3 @@ struct jump_entry { ...@@ -43,5 +35,3 @@ struct jump_entry {
}; };
#endif #endif
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment