summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Kconfig
diff options
context:
space:
mode:
authorSathvika Vasireddy <sv@linux.ibm.com>2023-12-08 22:00:43 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2023-12-13 21:49:22 +1100
commitb20f98e8b3deb50247603f0242ee2d1e38726635 (patch)
tree0f86bc8a12a78ac3a6f4aaa60dd1b37979bc8e83 /arch/powerpc/Kconfig
parentae24db43b3b427eb290b58d55179c32f0a7539d1 (diff)
downloadlinux-b20f98e8b3deb50247603f0242ee2d1e38726635.tar.gz
linux-b20f98e8b3deb50247603f0242ee2d1e38726635.tar.bz2
linux-b20f98e8b3deb50247603f0242ee2d1e38726635.zip
powerpc/Kconfig: Select FUNCTION_ALIGNMENT_4B
Commit d49a0626216b95 ("arch: Introduce CONFIG_FUNCTION_ALIGNMENT") introduced a generic function-alignment infrastructure. Move to using FUNCTION_ALIGNMENT_4B on powerpc, to use the same alignment as that of the existing _GLOBAL macro. Signed-off-by: Sathvika Vasireddy <sv@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/21892186ec44abe24df0daf64f577dac0e78783f.1702045299.git.naveen@kernel.org
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r--arch/powerpc/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 6f105ee4f3cf..318e5c1b7454 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -189,6 +189,7 @@ config PPC
select EDAC_ATOMIC_SCRUB
select EDAC_SUPPORT
select FTRACE_MCOUNT_USE_PATCHABLE_FUNCTION_ENTRY if ARCH_USING_PATCHABLE_FUNCTION_ENTRY
+ select FUNCTION_ALIGNMENT_4B
select GENERIC_ATOMIC64 if PPC32
select GENERIC_CLOCKEVENTS_BROADCAST if SMP
select GENERIC_CMOS_UPDATE