dect
/
linux-2.6
Archived
13
0
Fork 0

powerpc: Fix build breakage in jump_label.c

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>
This commit is contained in:
Al Viro 2011-11-08 19:56:05 -05:00 committed by Benjamin Herrenschmidt
parent cfcfc9eca2
commit 9c8b39077b
1 changed files with 2 additions and 0 deletions

View File

@ -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