summaryrefslogtreecommitdiff
path: root/i386/intel/pmap.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2006-11-11 01:47:21 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:55 +0200
commit8e8d9ca01fc40a2bb3b96d560f030948d1596d03 (patch)
tree756cd763cbfcdf0f22562378c86cf6870883dd0e /i386/intel/pmap.c
parent561a7af16b65929d3712e990b6c23f821e342675 (diff)
2006-11-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
* i386/intel/pmap.c (SPLVM, SPLX): Artificially use parameter of macro.
Diffstat (limited to 'i386/intel/pmap.c')
-rw-r--r--i386/intel/pmap.c4
1 files changed, 2 insertions, 2 deletions
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)