All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] parisc: Ensure proper alignment of assmbler statements in head.S
@ 2026-08-15  9:59 Helge Deller
  0 siblings, 0 replies; only message in thread
From: Helge Deller @ 2026-08-15  9:59 UTC (permalink / raw)
  To: linux-parisc; +Cc: deller

From: Helge Deller <deller@gmx.de>

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.

Signed-off-by: Helge Deller <deller@gmx.de>
Cc: stable@vger.kernel.org
---
 arch/parisc/kernel/head.S | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/parisc/kernel/head.S b/arch/parisc/kernel/head.S
index 9188c8d87437..e84d7d6e1eb9 100644
--- a/arch/parisc/kernel/head.S
+++ b/arch/parisc/kernel/head.S
@@ -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
-- 
2.54.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-15  9:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-15  9:59 [PATCH] parisc: Ensure proper alignment of assmbler statements in head.S Helge Deller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.