Skip to content

Commit

Permalink
jump label: Remove duplicate structure for x86
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Steven Rostedt authored and Steven Rostedt committed Sep 22, 2010
1 parent dff9d3c commit 95fccd4
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions arch/x86/include/asm/jump_label.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,10 @@
#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;
Expand All @@ -43,5 +35,3 @@ struct jump_entry {
};

#endif

#endif

0 comments on commit 95fccd4

Please sign in to comment.