summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include
diff options
context:
space:
mode:
authorjasone <jasone@FreeBSD.org>2001-01-24 12:35:55 +0000
committerjasone <jasone@FreeBSD.org>2001-01-24 12:35:55 +0000
commit8d2ec1ebc4a9454e2936c6fcbe29a5f1fd83504f (patch)
tree23bd3f0014237e1b861fed6a7c3b587948d149d5 /sys/powerpc/include
parentc5cc2f8e2621f1d090434a5474a18fae384e1db6 (diff)
downloadFreeBSD-src-8d2ec1ebc4a9454e2936c6fcbe29a5f1fd83504f.zip
FreeBSD-src-8d2ec1ebc4a9454e2936c6fcbe29a5f1fd83504f.tar.gz
Convert all simplelocks to mutexes and remove the simplelock implementations.
Diffstat (limited to 'sys/powerpc/include')
-rw-r--r--sys/powerpc/include/lock.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/sys/powerpc/include/lock.h b/sys/powerpc/include/lock.h
index e36ac98..ab1e808 100644
--- a/sys/powerpc/include/lock.h
+++ b/sys/powerpc/include/lock.h
@@ -28,20 +28,6 @@
#ifndef _MACHINE_LOCK_H_
#define _MACHINE_LOCK_H_
-/*
- * Simple spin lock.
- * It is an error to hold one of these locks while a process is sleeping.
- */
-struct simplelock {
- volatile u_int lock_data;
-};
-
-/* functions in mp_machdep.c */
-void s_lock_init __P((struct simplelock *));
-void s_lock __P((struct simplelock *));
-int s_lock_try __P((struct simplelock *));
-void s_unlock_np __P((struct simplelock *));
-
#define COM_LOCK()
#define COM_UNLOCK()
#define COM_DISABLE_INTR() COM_LOCK()
OpenPOWER on IntegriCloud