summaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2006-11-11 01:03:44 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:53 +0200
commit3d98b08858cb57bae632b4800c3e0fcff3f04fa9 (patch)
tree9d86c82620ea9cd04e318af81780929ffbdbb257 /i386
parent84fa0626bc30ee2d3dee6c7f8629b4994caf2e68 (diff)
Fix artificial use of parameter
Diffstat (limited to 'i386')
-rw-r--r--i386/i386/pcb.c4
1 files 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) \