Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Let MULTIPROCESSOR && LOCKDEBUG case compile again
details: https://anonhg.NetBSD.org/src/rev/7cacc615db7f
branches: trunk
changeset: 485701:7cacc615db7f
user: sommerfeld <sommerfeld%NetBSD.org@localhost>
date: Wed May 03 13:53:59 2000 +0000
description:
Let MULTIPROCESSOR && LOCKDEBUG case compile again
diffstat:
sys/kern/kern_lock.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (35 lines):
diff -r a8b966387381 -r 7cacc615db7f sys/kern/kern_lock.c
--- a/sys/kern/kern_lock.c Wed May 03 11:45:28 2000 +0000
+++ b/sys/kern/kern_lock.c Wed May 03 13:53:59 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_lock.c,v 1.28 2000/05/02 04:32:33 thorpej Exp $ */
+/* $NetBSD: kern_lock.c,v 1.29 2000/05/03 13:53:59 sommerfeld Exp $ */
/*-
* Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@@ -210,10 +210,10 @@
struct simplelock spinlock_list_slock = SIMPLELOCK_INITIALIZER;
#define SPINLOCK_LIST_LOCK() \
- __cpu_simple_lock(&spinlock_list_slock->lock_data)
+ __cpu_simple_lock(&spinlock_list_slock.lock_data)
#define SPINLOCK_LIST_UNLOCK() \
- __cpu_simple_unlock(&spinlock_list_slock->lock_data)
+ __cpu_simple_unlock(&spinlock_list_slock.lock_data)
#else
#define SPINLOCK_LIST_LOCK() /* nothing */
@@ -675,10 +675,10 @@
struct simplelock simplelock_list_slock = SIMPLELOCK_INITIALIZER;
#define SLOCK_LIST_LOCK() \
- __cpu_simple_lock(&simplelock_list_slock->lock_data)
+ __cpu_simple_lock(&simplelock_list_slock.lock_data)
#define SLOCK_LIST_UNLOCK() \
- __cpu_simple_unlock(&simplelock_list_slock->lock_data)
+ __cpu_simple_unlock(&simplelock_list_slock.lock_data)
#if defined(__HAVE_ATOMIC_OPERATIONS) /* { */
#define SLOCK_COUNT(x) \
Home |
Main Index |
Thread Index |
Old Index