projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dff9d3c
)
jump label: Remove duplicate structure for x86
author
Steven Rostedt
<srostedt@redhat.com>
Wed, 22 Sep 2010 21:37:43 +0000
(17:37 -0400)
committer
Steven Rostedt
<rostedt@goodmis.org>
Wed, 22 Sep 2010 21:37:43 +0000
(17:37 -0400)
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>
arch/x86/include/asm/jump_label.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/include/asm/jump_label.h
b/arch/x86/include/asm/jump_label.h
index b4a2cb40337027aa19c26c979facbfe35184d52e..f52d42e805853ea09532a86aca6290410bb2d83b 100644
(file)
--- a/
arch/x86/include/asm/jump_label.h
+++ b/
arch/x86/include/asm/jump_label.h
@@
-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;
@@
-43,5
+35,3
@@
struct jump_entry {
};
#endif
-
-#endif