Skip to contentSkip to conversation

parisc: Align os_hpmc_size on word boundry

PATCH New Helge Deller 1 participant 1 message Dec 12, 2017 PA-RISC architecture

lore
Share & tools
lore

Helge Deller

author maintainer
#0 lore raw

PATCH 1/1 parisc: Align os_hpmc_size on word boundry

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.

arch/parisc/kernel/hpmc.S +1 -0
index e3a8e5e4d5de..8d072c44f300 100644
@@ -305,6 +305,7 @@ ENDPROC_CFI(os_hpmc)
 
 
 	__INITRODATA
+	.align 4
 	.export os_hpmc_size
 os_hpmc_size:
 	.word .os_hpmc_end-.os_hpmc