[PATCH] lmc_proto.c includes <asm/smp.h>

Geert Uytterhoeven (geert@linux-m68k.org)
Mon, 9 Jun 2003 12:37:52 +0200


lmc_proto.c includes <asm/smp.h>, causing build failures on UMP-only
architectures

--- linux-2.4.x/drivers/net/wan/lmc/lmc_proto.c Wed Mar 7 10:29:48 2001
+++ linux-m68k-2.4.x/drivers/net/wan/lmc/lmc_proto.c Sun Jun 8 10:39:03 2003
@@ -31,7 +31,7 @@
#include <linux/interrupt.h>
#include <linux/pci.h>
#include <asm/segment.h>
-#include <asm/smp.h>
+#include <linux/smp.h>

#include <linux/in.h>
#include <linux/if_arp.h>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/