Skip to content

Commit

Permalink
[MIPS] setup.c: do not inline functions
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Franck Bui-Huu authored and Ralf Baechle committed Sep 27, 2006
1 parent 8ff7bc4 commit 8df32c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/mips/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 8df32c6

Please sign in to comment.