From 8e8d9ca01fc40a2bb3b96d560f030948d1596d03 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 11 Nov 2006 01:47:21 +0000 Subject: 2006-11-11 Samuel Thibault * i386/intel/pmap.c (SPLVM, SPLX): Artificially use parameter of macro. --- i386/intel/pmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'i386/intel') diff --git a/i386/intel/pmap.c b/i386/intel/pmap.c index 43f952b..5c287ec 100644 --- a/i386/intel/pmap.c +++ b/i386/intel/pmap.c @@ -351,8 +351,8 @@ lock_data_t pmap_system_lock; #else /* NCPUS > 1 */ -#define SPLVM(spl) -#define SPLX(spl) +#define SPLVM(spl) ((void)(spl)) +#define SPLX(spl) ((void)(spl)) #define PMAP_READ_LOCK(pmap, spl) SPLVM(spl) #define PMAP_WRITE_LOCK(spl) SPLVM(spl) -- cgit v1.2.3