* [PATCH] parisc: Align os_hpmc_size on word boundry
@ 2017-12-12 20:25 Helge Deller
0 siblings, 0 replies; only message in thread
From: Helge Deller @ 2017-12-12 20:25 UTC (permalink / raw)
To: linux-parisc, James Bottomley, John David Anglin
The os_hpmc_size variable sometimes wasn't aligned at word boundry and
thus triggered the unaligned fault handler at startup. Fix it by
aligning it properly.
Signed-off-by: Helge Deller <deller@gmx.de>
diff --git a/arch/parisc/kernel/hpmc.S b/arch/parisc/kernel/hpmc.S
index e3a8e5e4d5de..8d072c44f300 100644
--- a/arch/parisc/kernel/hpmc.S
+++ b/arch/parisc/kernel/hpmc.S
@@ -305,6 +305,7 @@ ENDPROC_CFI(os_hpmc)
__INITRODATA
+ .align 4
.export os_hpmc_size
os_hpmc_size:
.word .os_hpmc_end-.os_hpmc
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-12-12 20:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-12 20:25 [PATCH] parisc: Align os_hpmc_size on word boundry Helge Deller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).