From: Petr Mladek Date: Fri, 23 Jul 2021 07:25:30 +0000 (+0200) Subject: MIPS/asm/printk: Fix build failure caused by printk X-Git-Tag: accepted/tizen/unified/20230118.172025~6506^2~3^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=86ce91d5568de02f92ab9d4fb507683f8429a3e2;p=platform%2Fkernel%2Flinux-rpi.git MIPS/asm/printk: Fix build failure caused by printk The commit 337015573718b161 ("printk: Userspace format indexing support") caused the following build failure: arch/mips/kernel/genex.o: In function `handle_mcheck_int': (.text+0x190c): undefined reference to `printk' arch/mips/kernel/genex.o: In function `handle_reserved_int': (.text+0x1c8c): undefined reference to `printk' Fixes: 337015573718b161 ("printk: Userspace format indexing support") Reported-by: Stephen Rothwell Suggested-by: Chris Down Signed-off-by: Petr Mladek Link: https://lore.kernel.org/r/YPbBfdz9srIpI+bb@chrisdown.name --- diff --git a/arch/mips/include/asm/asm.h b/arch/mips/include/asm/asm.h index ea4b62e..2f8ce94 100644 --- a/arch/mips/include/asm/asm.h +++ b/arch/mips/include/asm/asm.h @@ -114,7 +114,7 @@ symbol = value .set push; \ .set reorder; \ PTR_LA a0, 8f; \ - jal printk; \ + jal _printk; \ .set pop; \ TEXT(string) #else