mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-18 11:23:03 +08:00
Move cpu_spinwait() definition
This commit is contained in:
@@ -22,6 +22,8 @@
|
||||
#error "the header file <freebsd/machine/rtems-bsd-config.h> 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)
|
||||
|
Reference in New Issue
Block a user