From 35780dc21adda12f4e93177415556e6698e017e4 Mon Sep 17 00:00:00 2001 From: mux Date: Tue, 3 Aug 2004 18:44:27 +0000 Subject: 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 --- sys/ia64/include/cpu.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/ia64') diff --git a/sys/ia64/include/cpu.h b/sys/ia64/include/cpu.h index f6f6b5c..c7a4603 100644 --- a/sys/ia64/include/cpu.h +++ b/sys/ia64/include/cpu.h @@ -86,6 +86,7 @@ struct clockframe { /* Used by signaling code. */ #define cpu_getstack(td) ((td)->td_frame->tf_special.sp) +#define cpu_spinwait() /* nothing */ void cpu_halt(void); void cpu_reset(void); -- cgit v1.1