From: Al Viro Date: Wed, 9 Nov 2011 00:56:05 +0000 (-0500) Subject: powerpc: Fix build breakage in jump_label.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9c8b39077b0a5b0990bb707fcd7b5913d7b322b8;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 Signed-off-by: Benjamin Herrenschmidt --- diff --git a/arch/powerpc/kernel/jump_label.c b/arch/powerpc/kernel/jump_label.c index 368d158d665d..a1ed8a8c7cb4 100644 --- a/arch/powerpc/kernel/jump_label.c +++ b/arch/powerpc/kernel/jump_label.c @@ -11,6 +11,7 @@ #include #include +#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