CVSROOT:        /cvs
Module name:    src
Changes by:     d...@cvs.openbsd.org    2013/01/22 16:56:31

Modified files:
        sys/arch/sparc64/include: bus.h 
        sys/arch/sparc64/sparc64: machdep.c 

Log message:
pull the guts of bus_space_barrier into the inline function in the header.
there's only one implementation of it on sparc64, so we shouldnt need to
iterate up a chain of bus_space_tags to get to it.

because the only argument that is used inside the function is the flags,
this can generally be inlined to a single membar opcode. this leaves that
op as membar(Sync) for now while kettenis@ thinks about what changing it
might mean.

ok miod@

Reply via email to