linux-next: build failure after merge of the akpm-current tree
Subsystems (2)
Hi Andrew,
After merging the akpm-current tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:
arch/powerpc/lib/code-patching.c:61:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'is_conditional_branch'
bool __kprobes is_conditional_branch(unsigned int instr)
^
Caused by commit
916c821aaf13 ("kprobes: move kprobe declarations to asm-generic/kprobes.h")
interacting with commit
51c9c0843993 ("powerpc/kprobes: Implement Optprobes")
from the powerpc tree.
I have applied this merge fix patch for today:
From: Stephen Rothwell <[email protected]>
Date: Tue, 14 Feb 2017 16:56:11 +1100
Subject: [PATCH] powerpc/kprobes: fixup for kprobes declarations moving
Signed-off-by Stephen Rothwell <[email protected]>
--- arch/powerpc/lib/code-patching.c | 1 + 1 file changed, 1 insertion(+)
arch/powerpc/lib/code-patching.c +1 -0
@@ -14,6 +14,7 @@#include <asm/page.h> #include <asm/code-patching.h> #include <linux/uaccess.h> +#include <linux/kprobes.h> int patch_instruction (unsigned int *addr,unsigned int instr)
Signature · 5 lines
2.10.2 -- Cheers, Stephen Rothwell