summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2002-08-12 17:46:06 -0700
committerIngo Molnar <mingo@elte.hu>2002-08-12 17:46:06 -0700
commitd1269ac7edfd38070871cbe50d12da20b14861f6 (patch)
treee85ce1a20966c8b5b390632ca64f11f90030e793 /include/linux
parent177b088842397486d9207c838de5b68369c2735b (diff)
[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.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/apm_bios.h3
1 files changed, 1 insertions, 2 deletions
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)