Skip to content

Commit

Permalink
x86_64: Add asm/mtrr.h include for some builds
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed May 12, 2007
1 parent 7248d49 commit 0a203a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/x86_64/kernel/bugs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 0a203a4

Please sign in to comment.