CVSROOT:        /cvs
Module name:    src
Changes by:     v...@cvs.openbsd.org    2017/10/17 08:25:35

Modified files:
        sys/arch/amd64/conf: files.amd64 
        sys/arch/amd64/include: cpu.h mplock.h 
        sys/arch/i386/conf: files.i386 
        sys/arch/i386/include: cpu.h mplock.h 
        sys/arch/sparc64/conf: files.sparc64 
        sys/arch/sparc64/include: mplock.h 
        sys/kern       : kern_lock.c 
        sys/sys        : mplock.h 

Log message:
Add a machine-independent implementation for the mplock.
This reduces code duplication and makes it easier to instrument
lock primitives.

The MI mplock uses the ticket lock code that has been in use
on amd64, i386 and sparc64. These are the architectures that now
switch to the MI code.

The lock_machdep.c files are unhooked from the build but not
removed yet, in case something goes wrong.

OK mpi@, kettenis@

Reply via email to