WSL2-Linux-Kernel/arch/arm/include
Ard Biesheuvel d9505958e1 ARM: 9180/1: Thumb2: align ALT_UP() sections in modules sufficiently
commit 9f80ccda53 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-02-01 17:26:59 +01:00
..
asm ARM: 9180/1: Thumb2: align ALT_UP() sections in modules sufficiently 2022-02-01 17:26:59 +01:00
debug ARM: imx: rename DEBUG_IMX21_IMX27_UART to DEBUG_IMX27_UART 2022-01-27 11:04:29 +01:00
uapi/asm ARM development updates for 5.15: 2021-09-09 13:25:49 -07:00