aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2023-11-27 10:39:26 +0100
committerHelge Deller <deller@gmx.de>2023-11-27 11:01:38 +0100
commit487635756198cad563feb47539c6a37ea57f1dae (patch)
tree06abacd91c49b5fd424e63ef5fd3ad8de104f089
parent2cc14f52aeb78ce3f29677c2de1f06c0e91471ab (diff)
downloadparisc-linux-parisc-6.7-5.tar.gz
parisc: Fix asm operand number out of range build error in bug tableparisc-for-6.7-rc5parisc-6.7-5
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: fe76a1349f23 ("parisc: Use natural CPU alignment for bug_table") Cc: stable@vger.kernel.org # v6.0+
-rw-r--r--arch/parisc/include/asm/bug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/include/asm/bug.h b/arch/parisc/include/asm/bug.h
index 1641ff9a8b83e0..833555f74ffa72 100644
--- a/arch/parisc/include/asm/bug.h
+++ b/arch/parisc/include/asm/bug.h
@@ -71,7 +71,7 @@
asm volatile("\n" \
"1:\t" PARISC_BUG_BREAK_ASM "\n" \
"\t.pushsection __bug_table,\"a\"\n" \
- "\t.align %2\n" \
+ "\t.align 4\n" \
"2:\t" __BUG_REL(1b) "\n" \
"\t.short %0\n" \
"\t.blockz %1-4-2\n" \