parisc: Align os_hpmc_size on word boundary
authorHelge Deller <deller@gmx.de>
Tue, 12 Dec 2017 20:25:41 +0000 (21:25 +0100)
committerHelge Deller <deller@gmx.de>
Sun, 17 Dec 2017 20:06:25 +0000 (21:06 +0100)
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+
arch/parisc/kernel/hpmc.S

index e3a8e5e4d5de75897adcea4134f87c7246f60646..8d072c44f300c16d45ba8f4ee0c2eee6435e4ddd 100644 (file)
@@ -305,6 +305,7 @@ ENDPROC_CFI(os_hpmc)
 
 
        __INITRODATA
+       .align 4
        .export os_hpmc_size
 os_hpmc_size:
        .word .os_hpmc_end-.os_hpmc