Skip to contentSkip to conversation

parisc: Ensure proper alignment of assmbler statements in head.S

PATCH New Helge Deller 1 participant 1 message Aug 15 PA-RISC architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 parisc: Ensure proper alignment of assmbler statements in head.S

From: Helge Deller <[email protected]>

All assembler statements need to be 4-byte aligned. Prevent a possible misalignment if someone changes the preceeding string and it's length is suddenly not any longer a multiple of 4.

---
 arch/parisc/kernel/head.S | 1 +
 1 file changed, 1 insertion(+)
arch/parisc/kernel/head.S +1 -0
index 9188c8d87437..e84d7d6e1eb9 100644
@@ -105,6 +105,7 @@ $iodc_panic:
 	or		%r10,%r10,%r10	/* qemu idle sleep */
 msg1:	.ascii "Can't boot kernel which was built for PA8x00 CPUs on this machine.\r\n"
 msg1_end:
+	.align 4
 
 $cpu_ok:
 #endif
Signature · 1 line
2.54.0