summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/alpha/include/lock.h7
-rw-r--r--sys/alpha/include/param.h4
2 files changed, 4 insertions, 7 deletions
diff --git a/sys/alpha/include/lock.h b/sys/alpha/include/lock.h
index 2c695f9..f10c60f 100644
--- a/sys/alpha/include/lock.h
+++ b/sys/alpha/include/lock.h
@@ -22,7 +22,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: lock.h,v 1.2 1998/06/10 10:55:10 dfr Exp $
+ * $Id: lock.h,v 1.3 1998/07/22 08:28:24 dfr Exp $
*/
@@ -38,11 +38,6 @@ struct simplelock {
volatile int lock_data;
};
-#define simple_lock_init(alp)
-#define simple_lock(alp)
-#define simple_lock_try(alp) 1
-#define simple_unlock(alp)
-
#define COM_LOCK()
#define COM_UNLOCK()
diff --git a/sys/alpha/include/param.h b/sys/alpha/include/param.h
index a735a99..0fbbf95 100644
--- a/sys/alpha/include/param.h
+++ b/sys/alpha/include/param.h
@@ -1,4 +1,4 @@
-/* $Id: param.h,v 1.9 1999/03/01 06:10:16 imp Exp $ */
+/* $Id: param.h,v 1.10 1999/04/11 12:19:02 simokawa Exp $ */
/* From: NetBSD: param.h,v 1.20 1997/09/19 13:52:53 leo Exp */
/*
@@ -70,6 +70,8 @@
#define OBJFORMAT_NAMES "elf"
#define OBJFORMAT_DEFAULT "elf"
+#define NCPUS 1
+
/*
* Round p (pointer or byte index) up to a correctly-aligned value for all
* data types (int, long, ...). The result is u_long and must be cast to
OpenPOWER on IntegriCloud