git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
x86: cleanup for setup code crashes during IST probe
[pandora-kernel.git]
/
arch
/
x86
/
boot
/
main.c
diff --git
a/arch/x86/boot/main.c
b/arch/x86/boot/main.c
index
2296164
..
197421d
100644
(file)
--- a/
arch/x86/boot/main.c
+++ b/
arch/x86/boot/main.c
@@
-73,6
+73,11
@@
static void keyboard_set_repeat(void)
*/
static void query_ist(void)
{
*/
static void query_ist(void)
{
+ /* 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;
+
asm("int $0x15"
: "=a" (boot_params.ist_info.signature),
"=b" (boot_params.ist_info.command),
asm("int $0x15"
: "=a" (boot_params.ist_info.signature),
"=b" (boot_params.ist_info.command),