diff options
author | Jean Delvare <khali@linux-fr.org> | 2007-03-05 03:30:06 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-05 10:57:50 -0500 |
commit | 58a53b246b4aed95f3f93b45828c8d9f26b1cfcb (patch) | |
tree | cf2a7e30acbdbc3f8a314ec6c541bca5249ebcea | |
parent | d5dedf99e4ca9860ce8a1dd42db1cb666c360632 (diff) |
[PATCH] io_apic.h needs apicdef.h
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>
-rw-r--r-- | include/asm-i386/io_apic.h | 1 | ||||
-rw-r--r-- | include/asm-x86_64/io_apic.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-i386/io_apic.h b/include/asm-i386/io_apic.h index 059a9ff28b4d..340764076d5f 100644 --- a/include/asm-i386/io_apic.h +++ b/include/asm-i386/io_apic.h | |||
@@ -3,6 +3,7 @@ | |||
3 | 3 | ||
4 | #include <asm/types.h> | 4 | #include <asm/types.h> |
5 | #include <asm/mpspec.h> | 5 | #include <asm/mpspec.h> |
6 | #include <asm/apicdef.h> | ||
6 | 7 | ||
7 | /* | 8 | /* |
8 | * Intel IO-APIC support for SMP and UP systems. | 9 | * Intel IO-APIC support for SMP and UP systems. |
diff --git a/include/asm-x86_64/io_apic.h b/include/asm-x86_64/io_apic.h index f4fb238c89f1..969d225a9350 100644 --- a/include/asm-x86_64/io_apic.h +++ b/include/asm-x86_64/io_apic.h | |||
@@ -3,6 +3,7 @@ | |||
3 | 3 | ||
4 | #include <asm/types.h> | 4 | #include <asm/types.h> |
5 | #include <asm/mpspec.h> | 5 | #include <asm/mpspec.h> |
6 | #include <asm/apicdef.h> | ||
6 | 7 | ||
7 | /* | 8 | /* |
8 | * Intel IO-APIC support for SMP and UP systems. | 9 | * Intel IO-APIC support for SMP and UP systems. |