CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2017/05/24 21:19:39
Modified files:
sys/arch/sparc64/dev: iommu.c psycho.c pyro.c schizo.c vdsk.c
viommu.c
sys/arch/sparc64/include: atomic.h bus.h ctlreg.h psl.h
sys/arch/sparc64/sparc64: cpu.c ipifuncs.c lock_machdep.c
machdep.c vm_machdep.c
sys/dev/pci/drm: drmP.h
Log message:
tweak sparc64 membars as a step toward making them usable in userland.
specifically, dont rely on magic in ctlreg to implement membars. moving
that to atomic.h would add a lot of pollution to the namespace, so
move to passing the membar options to a single __membar macro.
this tweaks everything that was using the ctlreg backend to either use
an appropriate membar_foo(), or to use __membar() in the MD code.
ok kettenis@