diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-06-08 18:31:32 (GMT) |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-07-30 19:21:39 (GMT) |
commit | b2cb92417d301f46801695243df5061a9bd31dd5 (patch) | |
tree | d81edb1145790b2a4fe0f41b008ce935efd856a3 /arch/m68k/kernel/setup_mm.c | |
parent | 398476195a561271654ecce0fa27330688d326df (diff) | |
download | linux-b2cb92417d301f46801695243df5061a9bd31dd5.tar.xz |
m68k: Kill warning in setup_arch() when compiling for Sun3
arch/m68k/kernel/setup_mm.c: In function ‘setup_arch’:
arch/m68k/kernel/setup_mm.c:219: warning: unused variable ‘i’
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/kernel/setup_mm.c')
-rw-r--r-- | arch/m68k/kernel/setup_mm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/m68k/kernel/setup_mm.c b/arch/m68k/kernel/setup_mm.c index 334d836..c3b4506 100644 --- a/arch/m68k/kernel/setup_mm.c +++ b/arch/m68k/kernel/setup_mm.c @@ -216,7 +216,9 @@ static void __init m68k_parse_bootinfo(const struct bi_record *record) void __init setup_arch(char **cmdline_p) { +#ifndef CONFIG_SUN3 int i; +#endif /* The bootinfo is located right after the kernel bss */ m68k_parse_bootinfo((const struct bi_record *)_end); |