From de3ef24a0392168a0d34afad9762f4dfe7cdfccd Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 24 Oct 2013 10:52:40 +0200 Subject: Move cpu_spinwait() definition --- rtemsbsd/include/machine/cpu.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rtemsbsd/include/machine/cpu.h') diff --git a/rtemsbsd/include/machine/cpu.h b/rtemsbsd/include/machine/cpu.h index d63ac715..7ac6e33d 100644 --- a/rtemsbsd/include/machine/cpu.h +++ b/rtemsbsd/include/machine/cpu.h @@ -22,6 +22,8 @@ #error "the header file must be included first" #endif +#define cpu_spinwait() do { } while (0) + /* FIXME: This implementation is a security problem */ static __inline uint64_t get_cyclecount(void) -- cgit v1.2.3