[PATCH 02/11] ARM: BUG: Spent each entry in __BUG__LINE() its own line

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Fri Oct 9 15:21:09 PDT 2026


After the "3:" label the individual entries for the struct bug_entry
follow.
Move the entries into their own line which makes re-grouping later
simpler.

Signed-off-by: Sebastian Andrzej Siewior <sebastian at breakpoint.cc>
---
 arch/arm/include/asm/bug.h | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/arch/arm/include/asm/bug.h b/arch/arm/include/asm/bug.h
index 24f46d4f6e733..4c01e360ccfe0 100644
--- a/arch/arm/include/asm/bug.h
+++ b/arch/arm/include/asm/bug.h
@@ -35,8 +35,11 @@
 	.popsection;						\
 	.pushsection __bug_table,"aw";				\
 	.align 2;						\
-	3: .word 1b, 2b;					\
-	.hword __line , 0;					\
+	3:							\
+	.word 1b;						\
+	.word 2b;						\
+	.hword __line;						\
+	.hword 0;						\
 	.popsection;
 
 /*

-- 
2.55.0




More information about the linux-arm-kernel mailing list