diff options
Diffstat (limited to 'i386/i386/pcb.c')
-rw-r--r-- | i386/i386/pcb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/i386/i386/pcb.c b/i386/i386/pcb.c index fb39cfb..1ff80f2 100644 --- a/i386/i386/pcb.c +++ b/i386/i386/pcb.c @@ -124,8 +124,8 @@ vm_offset_t stack_detach(thread) #define curr_gdt(mycpu) (mp_gdt[mycpu]) #define curr_ktss(mycpu) (mp_ktss[mycpu]) #else -#define curr_gdt(mycpu) (gdt) -#define curr_ktss(mycpu) (&ktss) +#define curr_gdt(mycpu) ((mycpu), gdt) +#define curr_ktss(mycpu) ((mycpu), &ktss) #endif #define gdt_desc_p(mycpu,sel) \ |