]> err.no Git - linux-2.6/commitdiff
[PATCH] io_apic.h needs apicdef.h
authorJean Delvare <khali@linux-fr.org>
Mon, 5 Mar 2007 08:30:06 +0000 (00:30 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 5 Mar 2007 15:57:50 +0000 (07:57 -0800)
A -mm patch caused:

In file included from drivers/pci/quirks.c:532:
include/asm/io_apic.h:61: error: "MAX_IO_APICS" undeclared here (not in a function)

So let's include the needed header.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-i386/io_apic.h
include/asm-x86_64/io_apic.h

index 059a9ff28b4d03b66fff8a2aff97ba962d14ceb4..340764076d5f4e56585779eaafb4ba249269f0a4 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <asm/types.h>
 #include <asm/mpspec.h>
+#include <asm/apicdef.h>
 
 /*
  * Intel IO-APIC support for SMP and UP systems.
index f4fb238c89f14212f84b51a9258fc5960a69a46d..969d225a93502bff46ec0ad92f9ce64143f1ebf1 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <asm/types.h>
 #include <asm/mpspec.h>
+#include <asm/apicdef.h>
 
 /*
  * Intel IO-APIC support for SMP and UP systems.