From 3d98b08858cb57bae632b4800c3e0fcff3f04fa9 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 11 Nov 2006 01:03:44 +0000 Subject: Fix artificial use of parameter --- i386/i386/pcb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i386/i386/pcb.c b/i386/i386/pcb.c index 1ff80f2..a660357 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) ((mycpu), gdt) -#define curr_ktss(mycpu) ((mycpu), &ktss) +#define curr_gdt(mycpu) ((void)(mycpu), gdt) +#define curr_ktss(mycpu) ((void)(mycpu), &ktss) #endif #define gdt_desc_p(mycpu,sel) \ -- cgit v1.2.3