powerpc/vmlinux.lds: Ensure STRICT_ALIGN_SIZE is at least page aligned
authorMichael Ellerman <mpe@ellerman.id.au>
Fri, 16 Sep 2022 04:40:57 +0000 (14:40 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Feb 2023 11:06:44 +0000 (12:06 +0100)
commitb6fff8fa4f5ba4d74529ec78f0fefc35cc149d93
tree68687f845ff32de9bd0a3ed08f37f7312dc393d1
parente7f5e3b60c30d89a6746c5ff8805baa1e77dc4fc
powerpc/vmlinux.lds: Ensure STRICT_ALIGN_SIZE is at least page aligned

[ Upstream commit 331771e836e6a32c8632d8cf5e2cdd94471258ad ]

Add a check that STRICT_ALIGN_SIZE is aligned to at least PAGE_SIZE.

That then makes the alignment to PAGE_SIZE immediately after the
alignment to STRICT_ALIGN_SIZE redundant, so remove it.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220916131422.318752-1-mpe@ellerman.id.au
Stable-dep-of: 111bcb373853 ("powerpc/64s/radix: Fix RWX mapping with relocated kernel")
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/powerpc/kernel/vmlinux.lds.S