Skip to content

Commit 4876357

Browse files
committed
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 <[email protected]> Reported-by: Linux Kernel Functional Testing <[email protected]> Fixes: fe76a13 ("parisc: Use natural CPU alignment for bug_table") Cc: [email protected] # v6.0+
1 parent 2cc14f5 commit 4876357

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

arch/parisc/include/asm/bug.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
asm volatile("\n" \
7272
"1:\t" PARISC_BUG_BREAK_ASM "\n" \
7373
"\t.pushsection __bug_table,\"a\"\n" \
74-
"\t.align %2\n" \
74+
"\t.align 4\n" \
7575
"2:\t" __BUG_REL(1b) "\n" \
7676
"\t.short %0\n" \
7777
"\t.blockz %1-4-2\n" \

0 commit comments

Comments
 (0)