Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm protect against traditional macro expansion.
details: https://anonhg.NetBSD.org/src/rev/528d5bd614b7
branches: trunk
changeset: 515720:528d5bd614b7
user: christos <christos%NetBSD.org@localhost>
date: Wed Oct 03 13:32:23 2001 +0000
description:
protect against traditional macro expansion.
diffstat:
sys/uvm/uvm_map.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r 467675af909d -r 528d5bd614b7 sys/uvm/uvm_map.h
--- a/sys/uvm/uvm_map.h Wed Oct 03 13:14:02 2001 +0000
+++ b/sys/uvm/uvm_map.h Wed Oct 03 13:32:23 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_map.h,v 1.30 2001/09/09 19:38:23 chs Exp $ */
+/* $NetBSD: uvm_map.h,v 1.31 2001/10/03 13:32:23 christos Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -395,8 +395,8 @@
#ifdef DIAGNOSTIC
#define vm_map_lock_read(map) \
do { \
- if (map->flags & VM_MAP_INTRSAFE) \
- panic("vm_map_lock_read: intrsafe map"); \
+ if ((map)->flags & VM_MAP_INTRSAFE) \
+ panic("vm_map_lock_read: intrsafe Map"); \
(void) lockmgr(&(map)->lock, LK_SHARED, NULL); \
} while (0)
#else
Home |
Main Index |
Thread Index |
Old Index