OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Miod Vallat (miodcvs.openbsd.org)
Date: Sun Dec 02 2007 - 15:20:17 CST


CVSROOT: /cvs
Module name: src
Changes by: miodcvs.openbsd.org 2007/12/02 14:20:17

Modified files:
        sys/arch/m88k/conf: files.m88k
        sys/arch/mvme88k/include: mplock.h
Added files:
        sys/arch/aviion/include: mplock.h
        sys/arch/luna88k/include: mplock.h
        sys/arch/m88k/include: mplock.h
        sys/arch/m88k/m88k: mplock.c

Log message:
Rework the __mp_lock code to not spin at spllock(), kinda similar to the
x86 __mp_lock changes, but keeping the internal __cpu_simplelock_t to
guarantee atomic access to the __mp_lock fields.