diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2022-01-18 19:32:17 +0100 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2022-01-19 12:10:54 +0100 |
commit | 9f80ccda53b9417236945bc7ece4b519037df74d (patch) | |
tree | 50c3e354b5f42fb421b6cda47225ac16fc271f4e /arch/sparc | |
parent | ARM: 9179/1: uaccess: avoid alignment faults in copy_[from|to]_kernel_nofault (diff) | |
download | linux-9f80ccda53b9417236945bc7ece4b519037df74d.tar.xz linux-9f80ccda53b9417236945bc7ece4b519037df74d.zip |
ARM: 9180/1: Thumb2: align ALT_UP() sections in modules sufficiently
When building for Thumb2, the .alt.smp.init sections that are emitted by
the ALT_UP() patching code may not be 32-bit aligned, even though the
fixup_smp_on_up() routine expects that. This results in alignment faults
at module load time, which need to be fixed up by the fault handler.
So let's align those sections explicitly, and prevent this from occurring.
Cc: <stable@vger.kernel.org>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/sparc')
0 files changed, 0 insertions, 0 deletions