diff options
Diffstat (limited to 'arch/x86/boot/main.c')
-rw-r--r-- | arch/x86/boot/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/boot/main.c b/arch/x86/boot/main.c index 2296164b54d2..01aa64b5575b 100644 --- a/arch/x86/boot/main.c +++ b/arch/x86/boot/main.c | |||
@@ -73,6 +73,10 @@ static void keyboard_set_repeat(void) | |||
73 | */ | 73 | */ |
74 | static void query_ist(void) | 74 | static void query_ist(void) |
75 | { | 75 | { |
76 | /* Some 486 BIOSes apparently crash on this call */ | ||
77 | if (cpu.level < 6) | ||
78 | return; | ||
79 | |||
76 | asm("int $0x15" | 80 | asm("int $0x15" |
77 | : "=a" (boot_params.ist_info.signature), | 81 | : "=a" (boot_params.ist_info.signature), |
78 | "=b" (boot_params.ist_info.command), | 82 | "=b" (boot_params.ist_info.command), |