diff options
Diffstat (limited to 'arch/i386/kernel/apm.c')
-rw-r--r-- | arch/i386/kernel/apm.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/i386/kernel/apm.c b/arch/i386/kernel/apm.c index 0d2981120cd6..45199bb6455b 100644 --- a/arch/i386/kernel/apm.c +++ b/arch/i386/kernel/apm.c | |||
@@ -2325,12 +2325,6 @@ static int __init apm_init(void) | |||
2325 | __va((unsigned long)apm_info.bios.cseg_16 << 4)); | 2325 | __va((unsigned long)apm_info.bios.cseg_16 << 4)); |
2326 | set_base(gdt[APM_DS >> 3], | 2326 | set_base(gdt[APM_DS >> 3], |
2327 | __va((unsigned long)apm_info.bios.dseg << 4)); | 2327 | __va((unsigned long)apm_info.bios.dseg << 4)); |
2328 | /* For ASUS motherboard, Award BIOS rev 110 (and others?) */ | ||
2329 | _set_limit((char *)&gdt[APM_CS >> 3], 64 * 1024 - 1); | ||
2330 | /* For some unknown machine. */ | ||
2331 | _set_limit((char *)&gdt[APM_CS_16 >> 3], 64 * 1024 - 1); | ||
2332 | /* For the DEC Hinote Ultra CT475 (and others?) */ | ||
2333 | _set_limit((char *)&gdt[APM_DS >> 3], 64 * 1024 - 1); | ||
2334 | } | 2328 | } |
2335 | 2329 | ||
2336 | apm_proc = create_proc_info_entry("apm", 0, NULL, apm_get_info); | 2330 | apm_proc = create_proc_info_entry("apm", 0, NULL, apm_get_info); |