diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2017-08-08 14:44:08 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-08-10 16:40:51 +0300 |
commit | 7559952e1f6f95091b00352c5ba863040b65db9e (patch) | |
tree | 600e79ebc2f7715482076c6c82908ee3d7c23268 /arch | |
parent | 0e9645df58f7242edb14cde33b2757f2297e178e (diff) | |
download | linux-7559952e1f6f95091b00352c5ba863040b65db9e.tar.xz |
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 <mpe@ellerman.id.au>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/mm/init_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/init_64.c b/arch/powerpc/mm/init_64.c index b1c83a6bfd54..588a521966ec 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; |