cvs commit: src/sys/alpha/include cpu.h src/sys/amd64/include cpu.h src/sys/arm/include cpu.h src/sys/i386/include cpu.h src/sys/ia64/include cpu.h src/sys/powerpc/include cpu.h src/sys/sparc64/include cpu.h src/sys/kern kern_mutex.c

Maxime Henrion mux at FreeBSD.org
Tue Aug 3 11:44:27 PDT 2004


mux         2004-08-03 18:44:27 UTC

  FreeBSD src repository

  Modified files:
    sys/alpha/include    cpu.h 
    sys/amd64/include    cpu.h 
    sys/arm/include      cpu.h 
    sys/i386/include     cpu.h 
    sys/ia64/include     cpu.h 
    sys/powerpc/include  cpu.h 
    sys/sparc64/include  cpu.h 
    sys/kern             kern_mutex.c 
  Log:
  Instead of calling ia32_pause() conditionally on __i386__ or __amd64__
  being defined, define and use a new MD macro, cpu_spinwait().  It only
  expands to something on i386 and amd64, so the compiled code should be
  identical.
  
  Name of the macro found by:     jhb
  Reviewed by:    jhb
  
  Revision  Changes    Path
  1.40      +1 -0      src/sys/alpha/include/cpu.h
  1.74      +3 -2      src/sys/amd64/include/cpu.h
  1.2       +1 -0      src/sys/arm/include/cpu.h
  1.73      +3 -2      src/sys/i386/include/cpu.h
  1.44      +1 -0      src/sys/ia64/include/cpu.h
  1.146     +5 -15     src/sys/kern/kern_mutex.c
  1.17      +1 -0      src/sys/powerpc/include/cpu.h
  1.15      +1 -0      src/sys/sparc64/include/cpu.h


More information about the cvs-src mailing list