Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Andi Kleen and committed by
Linus Torvalds
0a203a4c 7248d497

+1
+1
arch/x86_64/kernel/bugs.c
··· 9 9 #include <linux/init.h> 10 10 #include <asm/alternative.h> 11 11 #include <asm/processor.h> 12 + #include <asm/mtrr.h> 12 13 13 14 void __init check_bugs(void) 14 15 {