Date: Tue, 3 Aug 2004 18:44:27 +0000 (UTC) From: Maxime Henrion <mux@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: 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 Message-ID: <200408031844.i73IiRb4082245@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408031844.i73IiRb4082245>