projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e9645d
)
powerpc/mm: Fix section mismatch warning in early_check_vec5()
author
Michael Ellerman
<mpe@ellerman.id.au>
Tue, 8 Aug 2017 11:44:08 +0000
(21:44 +1000)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Thu, 10 Aug 2017 13:40:51 +0000
(23:40 +1000)
early_check_vec5() is called from and calls __init routines, so should
also be __init.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/init_64.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/mm/init_64.c
b/arch/powerpc/mm/init_64.c
index b1c83a6bfd5438ce8a22e3335d9690798c73547d..588a521966ec1e098eb954fbb87a582a6599ad84 100644
(file)
--- 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;