diff options
author | Steven Rostedt <srostedt@redhat.com> | 2010-09-22 17:37:43 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2010-09-22 17:37:43 -0400 |
commit | 95fccd465eefb3d6bf80dae0496607b534d38313 (patch) | |
tree | b2c6f4f7ba439fdc2de7ed09b455798165019704 /arch | |
parent | dff9d3c215251022dd8bb3823c9f75edb4b63fe9 (diff) |
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: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/include/asm/jump_label.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/arch/x86/include/asm/jump_label.h b/arch/x86/include/asm/jump_label.h index b4a2cb403370..f52d42e80585 100644 --- a/arch/x86/include/asm/jump_label.h +++ b/arch/x86/include/asm/jump_label.h | |||
@@ -23,18 +23,10 @@ | |||
23 | #endif /* __KERNEL__ */ | 23 | #endif /* __KERNEL__ */ |
24 | 24 | ||
25 | #ifdef CONFIG_X86_64 | 25 | #ifdef CONFIG_X86_64 |
26 | |||
27 | typedef u64 jump_label_t; | 26 | typedef u64 jump_label_t; |
28 | |||
29 | struct jump_entry { | ||
30 | jump_label_t code; | ||
31 | jump_label_t target; | ||
32 | jump_label_t key; | ||
33 | }; | ||
34 | |||
35 | #else | 27 | #else |
36 | |||
37 | typedef u32 jump_label_t; | 28 | typedef u32 jump_label_t; |
29 | #endif | ||
38 | 30 | ||
39 | struct jump_entry { | 31 | struct jump_entry { |
40 | jump_label_t code; | 32 | jump_label_t code; |
@@ -43,5 +35,3 @@ struct jump_entry { | |||
43 | }; | 35 | }; |
44 | 36 | ||
45 | #endif | 37 | #endif |
46 | |||
47 | #endif | ||