summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2025-12-08 13:40:56 +0100
committerHeiko Carstens <hca@linux.ibm.com>2025-12-08 15:42:41 +0100
commit70075e3d0ca0b72cc983d03f7cd9796e43492980 (patch)
tree0acc6516fbd68c1e156be6bfcf0b3455c395937b
parent1a82d430c5f05d4bf15b86a9f0349e4a24ec485c (diff)
s390/bug: Add missing alignment
All objects are supposed to have a minimal alignment of two, since a couple of instructions only work with even addresses. Add the missing align statement for the file string. Fixes: 6584ff203aec ("bugs/s390: Use 'cond_str' in __EMIT_BUG()") Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
-rw-r--r--arch/s390/include/asm/bug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/include/asm/bug.h b/arch/s390/include/asm/bug.h
index 063ada55fbd1..ee9221bb5d18 100644
--- a/arch/s390/include/asm/bug.h
+++ b/arch/s390/include/asm/bug.h
@@ -11,6 +11,7 @@
#else
#define __BUGVERBOSE_LOCATION(file, line) \
.pushsection .rodata.str, "aMS", @progbits, 1; \
+ .align 2; \
10002: .ascii file "\0"; \
.popsection; \
\