aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/hash_native_64.c
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2016-10-20 16:00:14 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2016-11-14 11:11:51 +1100
commit3a849815a13695ad0e32f6f01c90544922a72229 (patch)
treee72743b84cd949c7ecffa738498e087f49d53289 /arch/powerpc/mm/hash_native_64.c
parentpowerpc/64: Add an option to force run-at-load to test relocation (diff)
downloadlinux-dev-3a849815a13695ad0e32f6f01c90544922a72229.tar.xz
linux-dev-3a849815a13695ad0e32f6f01c90544922a72229.zip
powerpc/book3s64: Always build for power4 or later
When we're not compiling for a specific CPU, ie. none of the CONFIG_POWERx_CPU options are set, and CONFIG_GENERIC_CPU *is* set, we currently don't pass any -mcpu option to the compiler. This means the compiler builds for a "generic" Power CPU. But back in 2014 we dropped support for pre power4 CPUs in commit 468a33028edd ("powerpc: Drop support for pre-POWER4 cpus"). Given that, there's no point in building the kernel to run on pre power4 cpus. So update the flags we pass to the compiler when CONFIG_GENERIC_CPU is set, to specify -mcpu=power4. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions