From d1269ac7edfd38070871cbe50d12da20b14861f6 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Mon, 12 Aug 2002 17:46:06 -0700 Subject: [PATCH] APM TLS fix, 2.5.31-BK This (tested) patch fixes APM support on 2.5.31-BK. The patch is based on Stephen Rothwell's patch. --- include/linux/apm_bios.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/linux') diff --git a/include/linux/apm_bios.h b/include/linux/apm_bios.h index 732fbff874cc..ceffd587b7a8 100644 --- a/include/linux/apm_bios.h +++ b/include/linux/apm_bios.h @@ -21,8 +21,7 @@ typedef unsigned short apm_eventinfo_t; #ifdef __KERNEL__ -#define APM_40 (GDT_ENTRY_APMBIOS_BASE * 8) -#define APM_CS (APM_BASE + 8) +#define APM_CS (GDT_ENTRY_APMBIOS_BASE * 8) #define APM_CS_16 (APM_CS + 8) #define APM_DS (APM_CS_16 + 8) -- cgit v1.2.3