diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-06-08 20:31:32 +0200 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-07-30 21:21:39 +0200 |
commit | b2cb92417d301f46801695243df5061a9bd31dd5 (patch) | |
tree | d81edb1145790b2a4fe0f41b008ce935efd856a3 /arch | |
parent | 398476195a561271654ecce0fa27330688d326df (diff) | |
download | kernel-common-b2cb92417d301f46801695243df5061a9bd31dd5.tar.gz kernel-common-b2cb92417d301f46801695243df5061a9bd31dd5.tar.bz2 kernel-common-b2cb92417d301f46801695243df5061a9bd31dd5.zip |
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')
-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 334d83640376..c3b45061dd08 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); |