aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/init_32.c
diff options
context:
space:
mode:
authorMathieu Malaterre <malat@debian.org>2018-03-07 21:32:55 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2018-03-13 15:50:42 +1100
commitd15a261d876da3267c8c706ef21e7fdf10c582be (patch)
treef80541ed315e0366a99e71c5bb0d5ff3d064306e /arch/powerpc/mm/init_32.c
parentpowerpc: Avoid comparison of unsigned long >= 0 in __access_ok() (diff)
downloadlinux-dev-d15a261d876da3267c8c706ef21e7fdf10c582be.tar.xz
linux-dev-d15a261d876da3267c8c706ef21e7fdf10c582be.zip
powerpc/32: Make some functions static
These functions can all be static, make it so. Signed-off-by: Mathieu Malaterre <malat@debian.org> [mpe: Combine a patch of Mathieu's with some other static conversions] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/mm/init_32.c')
-rw-r--r--arch/powerpc/mm/init_32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/init_32.c b/arch/powerpc/mm/init_32.c
index 6419b33ca309..a2bf6965d04f 100644
--- a/arch/powerpc/mm/init_32.c
+++ b/arch/powerpc/mm/init_32.c
@@ -99,7 +99,7 @@ unsigned long __max_low_memory = MAX_LOW_MEM;
/*
* Check for command-line options that affect what MMU_init will do.
*/
-void __init MMU_setup(void)
+static void __init MMU_setup(void)
{
/* Check for nobats option (used in mapin_ram). */
if (strstr(boot_command_line, "nobats")) {