From 699b4576da3db79dd9f44a036e021e0cd52ae59a Mon Sep 17 00:00:00 2001 From: Stephen Rothwell Date: Tue, 17 Dec 2002 22:44:27 -0800 Subject: [PATCH] Fix bad interaction with APM and the new sysenter segment layout This fixes the APM GDT entry allocation issue. Confirmed by Andrew Morton. --- include/asm-i386/segment.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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) -- cgit v1.2.3