From 0a203a4ce1787acb49db6df8f5c064e9243db130 Mon Sep 17 00:00:00 2001 From: Andi Kleen <ak@suse.de> Date: Sat, 12 May 2007 17:27:40 +0200 Subject: [PATCH] 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> --- arch/x86_64/kernel/bugs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86_64/kernel/bugs.c b/arch/x86_64/kernel/bugs.c index c141e7a7ff55..c3c6b91566ed 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) {