projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfcfc9e
)
powerpc: Fix build breakage in jump_label.c
author
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 9 Nov 2011 00:56:05 +0000
(19:56 -0500)
committer
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Wed, 16 Nov 2011 03:25:19 +0000
(14:25 +1100)
Should do what other architectures do and wrap all that code into
the appropriate ifdef
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/jump_label.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/jump_label.c
b/arch/powerpc/kernel/jump_label.c
index
368d158
..
a1ed8a8
100644
(file)
--- a/
arch/powerpc/kernel/jump_label.c
+++ b/
arch/powerpc/kernel/jump_label.c
@@
-11,6
+11,7
@@
#include <linux/jump_label.h>
#include <asm/code-patching.h>
+#ifdef HAVE_JUMP_LABEL
void arch_jump_label_transform(struct jump_entry *entry,
enum jump_label_type type)
{
@@
-21,3
+22,4
@@
void arch_jump_label_transform(struct jump_entry *entry,
else
patch_instruction(addr, PPC_INST_NOP);
}
+#endif