Commit 757a6bee authored by Linus Torvalds's avatar Linus Torvalds Committed by Linus Torvalds

Fix up problem with Alan's pnpbios fixes for per-cpu GDT's.

Verified by Nathaniel <wfilardo@fuse.net>
parent cdca8d0c
...@@ -126,11 +126,11 @@ __asm__( ...@@ -126,11 +126,11 @@ __asm__(
#define Q_SET_SEL(cpu, selname, address, size) \ #define Q_SET_SEL(cpu, selname, address, size) \
set_base(cpu_gdt_table[cpu][(selname) >> 3], __va((u32)(address))); \ set_base(cpu_gdt_table[cpu][(selname) >> 3], __va((u32)(address))); \
_set_limit(&cpu_gdt_table[cpu][(selname) >> 3], size) set_limit(&cpu_gdt_table[cpu][(selname) >> 3], size)
#define Q2_SET_SEL(cpu, selname, address, size) \ #define Q2_SET_SEL(cpu, selname, address, size) \
set_base(cpu_gdt_table[cpu][(selname) >> 3], (u32)(address)); \ set_base(cpu_gdt_table[cpu][(selname) >> 3], (u32)(address)); \
_set_limit((char *)&cpu_gdt_table[cpu][(selname) >> 3], size) set_limit(&cpu_gdt_table[cpu][(selname) >> 3], size)
/* /*
* At some point we want to use this stack frame pointer to unwind * At some point we want to use this stack frame pointer to unwind
......
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