mirror of https://gitee.com/openkylin/linux.git
[MIPS] setup.c: do not inline functions
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>
This commit is contained in:
parent
8ff7bc4808
commit
8df32c636e
|
@ -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;
|
char c = ' ', *to = command_line, *from = saved_command_line;
|
||||||
unsigned long start_at, mem_size;
|
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 HIGHMEM_START
|
||||||
#define MAXMEM_PFN PFN_DOWN(MAXMEM)
|
#define MAXMEM_PFN PFN_DOWN(MAXMEM)
|
||||||
|
|
||||||
static inline void resource_init(void)
|
static void __init resource_init(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue