Commit 699b4576 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Linus Torvalds

[PATCH] Fix bad interaction with APM and the new sysenter segment layout

This fixes the APM GDT entry allocation issue.  Confirmed by Andrew
Morton.
parent 50cbf47d
...@@ -65,9 +65,9 @@ ...@@ -65,9 +65,9 @@
#define GDT_ENTRY_APMBIOS_BASE (GDT_ENTRY_KERNEL_BASE + 11) #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) #define GDT_SIZE (GDT_ENTRIES * 8)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment