diff --git a/[refs] b/[refs] index 281fdce73e3f..8746730e146f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 875e40b97571e1f06d1184ad6cbb2acf9cb31a23 +refs/heads/master: c2dcfde8274883e1f6050784dcbd34b01e824b91 diff --git a/trunk/arch/x86/boot/boot.h b/trunk/arch/x86/boot/boot.h index 9d4b4b43d97a..616b804a2295 100644 --- a/trunk/arch/x86/boot/boot.h +++ b/trunk/arch/x86/boot/boot.h @@ -24,8 +24,8 @@ #include #include #include - -#define NCAPINTS 8 +#include "bitops.h" +#include /* Useful macros */ #define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) diff --git a/trunk/arch/x86/boot/cpu.c b/trunk/arch/x86/boot/cpu.c index 92d6fd73dc7d..75298fe2edca 100644 --- a/trunk/arch/x86/boot/cpu.c +++ b/trunk/arch/x86/boot/cpu.c @@ -16,9 +16,6 @@ */ #include "boot.h" -#include "bitops.h" -#include - #include "cpustr.h" static char *cpu_name(int level) diff --git a/trunk/arch/x86/boot/cpucheck.c b/trunk/arch/x86/boot/cpucheck.c index c1ce0303d994..4b9ae7c56748 100644 --- a/trunk/arch/x86/boot/cpucheck.c +++ b/trunk/arch/x86/boot/cpucheck.c @@ -22,10 +22,8 @@ #ifdef _SETUP # include "boot.h" -# include "bitops.h" #endif #include -#include #include #include #include diff --git a/trunk/arch/x86/boot/main.c b/trunk/arch/x86/boot/main.c index 01aa64b5575b..197421db1af1 100644 --- a/trunk/arch/x86/boot/main.c +++ b/trunk/arch/x86/boot/main.c @@ -73,7 +73,8 @@ static void keyboard_set_repeat(void) */ static void query_ist(void) { - /* Some 486 BIOSes apparently crash on this call */ + /* Some older BIOSes apparently crash on this call, so filter + it from machines too old to have SpeedStep at all. */ if (cpu.level < 6) return;