]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 26 Sep 2022 10:58:16 +0000 (20:58 +1000)
commit7f0e1734cac70d0a0975606e6d2f0786a3608285
tree7a318e7017baf34d26775248a71e370a78d30a68
parentfd415f6d007d79990dde631b7ad4d25a761edf22
powerpc/vmlinux.lds: Ensure STRICT_ALIGN_SIZE is at least page aligned

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
arch/powerpc/kernel/vmlinux.lds.S