diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2007-10-24 20:54:54 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2007-10-24 20:54:54 +0000 |
commit | 5ee512f1ad938e9fec81934f52689f74ddce84d0 (patch) | |
tree | f625966e46288a62d4db652ad183857dbfa5ca6f /sys/arch/m88k | |
parent | 0c6cd44747a3242fd2727e389901bff4e313e2d3 (diff) |
Remove sir_lock, superseded by the atomic bit operations.
Diffstat (limited to 'sys/arch/m88k')
-rw-r--r-- | sys/arch/m88k/m88k/m88k_machdep.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/arch/m88k/m88k/m88k_machdep.c b/sys/arch/m88k/m88k/m88k_machdep.c index 76e5329a1c8..07862e63186 100644 --- a/sys/arch/m88k/m88k/m88k_machdep.c +++ b/sys/arch/m88k/m88k/m88k_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: m88k_machdep.c,v 1.22 2007/10/10 15:53:52 art Exp $ */ +/* $OpenBSD: m88k_machdep.c,v 1.23 2007/10/24 20:54:53 miod Exp $ */ /* * Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr. * Copyright (c) 1996 Nivas Madhur @@ -94,7 +94,6 @@ void vector_init(m88k_exception_vector_area *, u_int32_t *); #ifdef MULTIPROCESSOR __cpu_simple_lock_t cmmu_cpu_lock = __SIMPLELOCK_UNLOCKED; cpuid_t master_cpu; -struct __mp_lock sir_lock; #endif struct cpu_info m88k_cpus[MAX_CPUS]; @@ -294,13 +293,6 @@ set_cpu_number(cpuid_t number) { ci->ci_primary = 1; ci->ci_idle_pcb = &idle_u; - -#ifdef MULTIPROCESSOR - /* - * Specific initialization for the master processor. - */ - __mp_lock_init(&sir_lock); -#endif } ci->ci_alive = 1; |