aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2017-12-12 21:25:41 +0100
committerHelge Deller <deller@gmx.de>2017-12-17 21:06:25 +0100
commit0ed9d3de5f8f97e6efd5ca0e3377cab5f0451ead (patch)
tree31f5591e6651e5f5ecc1e129e51a559e94bece46 /arch/parisc
parentparisc: Fix indenting in puts() (diff)
downloadlinux-dev-0ed9d3de5f8f97e6efd5ca0e3377cab5f0451ead.tar.xz
linux-dev-0ed9d3de5f8f97e6efd5ca0e3377cab5f0451ead.zip
parisc: Align os_hpmc_size on word boundary
The os_hpmc_size variable sometimes wasn't aligned at word boundary and thus triggered the unaligned fault handler at startup. Fix it by aligning it properly. Signed-off-by: Helge Deller <deller@gmx.de> Cc: <stable@vger.kernel.org> # v4.14+
Diffstat (limited to 'arch/parisc')
-rw-r--r--arch/parisc/kernel/hpmc.S1
1 files changed, 1 insertions, 0 deletions
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