summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.com>2021-07-23 09:25:30 +0200
committerPetr Mladek <pmladek@suse.com>2021-07-23 09:25:30 +0200
commit86ce91d5568de02f92ab9d4fb507683f8429a3e2 (patch)
tree384cd1d1b5b86e593769ac574d71f6f6baf4fbbc /arch/mips
parentad7d61f159db73974f1b0352f21afe04b0bbd920 (diff)
downloadlinux-86ce91d5568de02f92ab9d4fb507683f8429a3e2.tar.gz
linux-86ce91d5568de02f92ab9d4fb507683f8429a3e2.tar.bz2
linux-86ce91d5568de02f92ab9d4fb507683f8429a3e2.zip
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 <sfr@canb.auug.org.au> Suggested-by: Chris Down <chris@chrisdown.name> Signed-off-by: Petr Mladek <pmladek@suse.com> Link: https://lore.kernel.org/r/YPbBfdz9srIpI+bb@chrisdown.name
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/include/asm/asm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/asm.h b/arch/mips/include/asm/asm.h
index ea4b62ece336..2f8ce94ebaaf 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