From: Michael Ellerman Date: Tue, 8 Aug 2017 11:44:08 +0000 (+1000) Subject: powerpc/mm: Fix section mismatch warning in early_check_vec5() X-Git-Tag: v4.14-rc1~119^2~227 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7559952e1f6f95091b00352c5ba863040b65db9e;p=platform%2Fkernel%2Flinux-rpi.git powerpc/mm: Fix section mismatch warning in early_check_vec5() early_check_vec5() is called from and calls __init routines, so should also be __init. Signed-off-by: Michael Ellerman --- diff --git a/arch/powerpc/mm/init_64.c b/arch/powerpc/mm/init_64.c index b1c83a6..588a521 100644 --- a/arch/powerpc/mm/init_64.c +++ b/arch/powerpc/mm/init_64.c @@ -381,7 +381,7 @@ early_param("disable_radix", parse_disable_radix); * /chosen/ibm,architecture-vec-5 to see if the hypervisor is willing to do * radix. If not, we clear the radix feature bit so we fall back to hash. */ -static void early_check_vec5(void) +static void __init early_check_vec5(void) { unsigned long root, chosen; int size;