[PATCH 392] M68k mm init warning

From: Geert Uytterhoeven
Date: Fri Feb 20 2004 - 08:53:13 EST


M68k mm: Kill warning (from Sam Creasey)

--- linux-2.6.3/arch/m68k/mm/init.c 2003-07-29 18:18:35.000000000 +0200
+++ linux-m68k-2.6.3/arch/m68k/mm/init.c 2004-01-15 13:57:41.000000000 +0100
@@ -82,7 +82,9 @@
int datapages = 0;
int initpages = 0;
unsigned long tmp;
+#ifndef CONFIG_SUN3
int i;
+#endif

max_mapnr = num_physpages = (((unsigned long)high_memory - PAGE_OFFSET) >> PAGE_SHIFT);


Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/