Hi all, After merging the powerpc tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: In file included from include/asm-generic/bug.h:18:0, from arch/powerpc/include/asm/bug.h:128, from include/linux/bug.h:5, from arch/powerpc/include/asm/mmu.h:126, from arch/powerpc/include/asm/lppaca.h:36, from arch/powerpc/include/asm/paca.h:21, from arch/powerpc/include/asm/current.h:16, from include/linux/sched.h:12, from arch/powerpc/kernel/setup_64.c:15: arch/powerpc/kernel/setup_64.c: In function 'init_fallback_flush': arch/powerpc/kernel/setup_64.c:864:14: error: implicit declaration of function 'safe_stack_limit'; did you mean 'save_stack_trace'? [-Werror=implicit-function-declaration] limit = min(safe_stack_limit(), ppc64_rma_size); ^ include/linux/kernel.h:790:2: note: in definition of macro '__min' t1 min1 = (x); \ ^~ arch/powerpc/kernel/setup_64.c:864:10: note: in expansion of macro 'min' limit = min(safe_stack_limit(), ppc64_rma_size); ^~~ include/linux/kernel.h:792:16: error: comparison of distinct pointer types lacks a cast [-Werror] (void) (&min1 == &min2); \ ^ include/linux/kernel.h:801:2: note: in expansion of macro '__min' __min(typeof(x), typeof(y), \ ^~~~~ arch/powerpc/kernel/setup_64.c:864:10: note: in expansion of macro 'min' limit = min(safe_stack_limit(), ppc64_rma_size); ^~~ Caused by commit 1af19331a3a1 ("powerpc/64s: Relax PACA address limitations") interacting with commit aa8a5e0062ac ("powerpc/64s: Add support for RFI flush of L1-D cache") from Linus' tree. I applied the following fix patch. From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Date: Fri, 19 Jan 2018 09:21:44 +1100 Subject: [PATCH] powerpc: fix up for safe_stack_limit rename Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> --- arch/powerpc/kernel/setup_64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c index 9e23c74896cc..f2b532f00861 100644 --- a/arch/powerpc/kernel/setup_64.c +++ b/arch/powerpc/kernel/setup_64.c @@ -861,7 +861,7 @@ static void init_fallback_flush(void) int cpu; l1d_size = ppc64_caches.l1d.size; - limit = min(safe_stack_limit(), ppc64_rma_size); + limit = min(ppc64_bolted_size(), ppc64_rma_size); /* * Align to L1d size, and size it at 2x L1d size, to catch possible -- 2.15.1 -- Cheers, Stephen Rothwell -- To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html