Skip to content

Commit

Permalink
parisc: Align os_hpmc_size on word boundary
Browse files Browse the repository at this point in the history
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+
  • Loading branch information
Helge Deller committed Dec 17, 2017
1 parent 203c110 commit 0ed9d3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/parisc/kernel/hpmc.S
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ ENDPROC_CFI(os_hpmc)


__INITRODATA
.align 4
.export os_hpmc_size
os_hpmc_size:
.word .os_hpmc_end-.os_hpmc

0 comments on commit 0ed9d3d

Please sign in to comment.