diff options
Diffstat (limited to 'sys/arch/i386/include/mplock.h')
-rw-r--r-- | sys/arch/i386/include/mplock.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/arch/i386/include/mplock.h b/sys/arch/i386/include/mplock.h index e1069d94e23..3f7d81fba96 100644 --- a/sys/arch/i386/include/mplock.h +++ b/sys/arch/i386/include/mplock.h @@ -17,9 +17,15 @@ #ifndef _MACHINE_MPLOCK_H_ #define _MACHINE_MPLOCK_H_ +struct __mp_lock_cpu { + u_int mplc_ticket; + u_int mplc_depth; +}; + struct __mp_lock { - volatile struct cpu_info *mpl_cpu; - volatile int mpl_count; + struct __mp_lock_cpu mpl_cpus[MAXCPUS]; + volatile u_int mpl_ticket; + u_int mpl_users; }; #ifndef _LOCORE |