aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2007-05-12 17:27:40 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-12 09:47:15 -0700
commit0a203a4ce1787acb49db6df8f5c064e9243db130 (patch)
tree4b129f6f87c2948ee30cdac9ee06879310e8e121
parent7248d497499a58a6f3bc3a05fdccb9a9b6306509 (diff)
x86_64: Add asm/mtrr.h include for some builds
The earlier change to call the bp mtrr init from bugs.c broke on some configurations due to missing includes. Noticed by "Avuton Olrich" <avuton@gmail.com> Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--arch/x86_64/kernel/bugs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86_64/kernel/bugs.c b/arch/x86_64/kernel/bugs.c
index c141e7a7ff5..c3c6b91566e 100644
--- a/arch/x86_64/kernel/bugs.c
+++ b/arch/x86_64/kernel/bugs.c
@@ -9,6 +9,7 @@
#include <linux/init.h>
#include <asm/alternative.h>
#include <asm/processor.h>
+#include <asm/mtrr.h>
void __init check_bugs(void)
{