mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 18:09:56 +00:00
parisc: Fix asm operand number out of range build error in bug table
Build is broken if CONFIG_DEBUG_BUGVERBOSE=n.
Fix it be using the correct asm operand number.
Signed-off-by: Helge Deller <deller@gmx.de>
Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
Fixes: fe76a1349f ("parisc: Use natural CPU alignment for bug_table")
Cc: stable@vger.kernel.org # v6.0+
This commit is contained in:
@@ -71,7 +71,7 @@
|
|||||||
asm volatile("\n" \
|
asm volatile("\n" \
|
||||||
"1:\t" PARISC_BUG_BREAK_ASM "\n" \
|
"1:\t" PARISC_BUG_BREAK_ASM "\n" \
|
||||||
"\t.pushsection __bug_table,\"a\"\n" \
|
"\t.pushsection __bug_table,\"a\"\n" \
|
||||||
"\t.align %2\n" \
|
"\t.align 4\n" \
|
||||||
"2:\t" __BUG_REL(1b) "\n" \
|
"2:\t" __BUG_REL(1b) "\n" \
|
||||||
"\t.short %0\n" \
|
"\t.short %0\n" \
|
||||||
"\t.blockz %1-4-2\n" \
|
"\t.blockz %1-4-2\n" \
|
||||||
|
|||||||
Reference in New Issue
Block a user