[MIPS] setup.c: do not inline functions
authorFranck Bui-Huu <vagabon.xyz@gmail.com>
Fri, 11 Aug 2006 15:51:51 +0000 (17:51 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 27 Sep 2006 12:38:01 +0000 (13:38 +0100)
There's no point to inline any functions in setup.c. Let's GCC
doing its job, it's good enough for that now.

Signed-off-by: Franck Bui-Huu <vagabon.xyz@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/setup.c

index 0bdc67116debf81a1f9fb7c5f697dd0b113bc189..f66af9cc7220fdb2160dd004159b9d4ee3d1e1da 100644 (file)
@@ -135,7 +135,7 @@ static void __init print_memory_map(void)
        }
 }
 
-static inline void parse_cmdline_early(void)
+static void __init parse_cmdline_early(void)
 {
        char c = ' ', *to = command_line, *from = saved_command_line;
        unsigned long start_at, mem_size;
@@ -476,7 +476,7 @@ static void __init arch_mem_init(char **cmdline_p)
 #define MAXMEM         HIGHMEM_START
 #define MAXMEM_PFN     PFN_DOWN(MAXMEM)
 
-static inline void resource_init(void)
+static void __init resource_init(void)
 {
        int i;