[PATCH] interrupt.h needs <asm/system.h>

Geert Uytterhoeven (geert@linux-m68k.org)
Mon, 18 Nov 2002 18:32:34 +0100 (MET)


<asm/system.h> is needed for smp_mb(). Apparently this definition is pulled in
some other way on ia32.

--- linux-2.5.48/include/linux/interrupt.h Mon Nov 18 10:04:00 2002
+++ linux-m68k-2.5.48/include/linux/interrupt.h Mon Nov 18 15:35:14 2002
@@ -8,6 +8,7 @@
#include <asm/hardirq.h>
#include <asm/ptrace.h>
#include <asm/softirq.h>
+#include <asm/system.h>

struct irqaction {
void (*handler)(int, void *, struct pt_regs *);

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/