summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2002-12-17 22:44:27 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2002-12-17 22:44:27 -0800
commit699b4576da3db79dd9f44a036e021e0cd52ae59a (patch)
tree29b065bafe283eb33794537b9f645be55018f741 /include
parent50cbf47dc4996aad4e78e56122db3dd311054d1c (diff)
[PATCH] Fix bad interaction with APM and the new sysenter segment layout
This fixes the APM GDT entry allocation issue. Confirmed by Andrew Morton.
Diffstat (limited to 'include')
-rw-r--r--include/asm-i386/segment.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-i386/segment.h b/include/asm-i386/segment.h
index 2abdb7c5bea7..f6949fb109d9 100644
--- a/include/asm-i386/segment.h
+++ b/include/asm-i386/segment.h
@@ -65,9 +65,9 @@
#define GDT_ENTRY_APMBIOS_BASE (GDT_ENTRY_KERNEL_BASE + 11)
/*
- * The GDT has 23 entries but we pad it to cacheline boundary:
+ * The GDT has 25 entries but we pad it to cacheline boundary:
*/
-#define GDT_ENTRIES 24
+#define GDT_ENTRIES 28
#define GDT_SIZE (GDT_ENTRIES * 8)