CVSROOT: /cvs Module name: src Changes by: [email protected] 2016/08/17 05:09:01
Modified files:
sys/arch/sparc64/include: cpu.h
Log message:
use a register variable to get at the curcpu pointer in %g7
this lets us define curcpu(), cpu_number(), etc as derefs of this
variable rather than having to write asm to copy it into another
register for the same derefs.
this provides shorter inlined code that wastes less registers.
ok kettenis@ who notes we use this these on other archs already
