Skip to content

Commit 86ce91d

Browse files
committed
MIPS/asm/printk: Fix build failure caused by printk
The commit 3370155 ("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: 3370155 ("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
1 parent ad7d61f commit 86ce91d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • arch/mips/include/asm

arch/mips/include/asm/asm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ symbol = value
114114
.set push; \
115115
.set reorder; \
116116
PTR_LA a0, 8f; \
117-
jal printk; \
117+
jal _printk; \
118118
.set pop; \
119119
TEXT(string)
120120
#else

0 commit comments

Comments
 (0)