* [PATCH] interrupt.h needs <asm/system.h>
@ 2002-11-18 17:32 Geert Uytterhoeven
0 siblings, 0 replies; 2+ messages in thread
From: Geert Uytterhoeven @ 2002-11-18 17:32 UTC (permalink / raw)
To: Linux Kernel Development
<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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] interrupt.h needs <asm/system.h>
[not found] <mailman.1037641141.13330.linux-kernel2news@redhat.com>
@ 2002-11-18 19:01 ` Pete Zaitcev
0 siblings, 0 replies; 2+ messages in thread
From: Pete Zaitcev @ 2002-11-18 19:01 UTC (permalink / raw)
To: linux-kernel
><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 *);
Geert's patch looks correct to me.
By the way, I am curious, why do we never comment why a header
was included, like so: "#include <asm/system.h> /* smp_mb */"?
I suspect people are afraid that the comments get stale.
-- Pete
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-11-18 18:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.1037641141.13330.linux-kernel2news@redhat.com>
2002-11-18 19:01 ` [PATCH] interrupt.h needs <asm/system.h> Pete Zaitcev
2002-11-18 17:32 Geert Uytterhoeven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox