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 <[email protected]> Suggested-by: Chris Down <[email protected]> Signed-off-by: Petr Mladek <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent ad7d61f commit 86ce91d

File tree

1 file changed

+1
-1
lines changed
  • arch/mips/include/asm

1 file changed

+1
-1
lines changed

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)