mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-06-05 00:22:46 +08:00
Move cpu_spinwait() definition
This commit is contained in:
parent
1bc275660d
commit
de3ef24a03
@ -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)
|
||||
|
@ -140,7 +140,4 @@ extern rtems_chain_control rtems_bsd_callout_chain;
|
||||
|
||||
extern rtems_chain_control rtems_bsd_malloc_chain;
|
||||
|
||||
/* CPU definitions */
|
||||
#define cpu_spinwait() /* nothing */
|
||||
|
||||
#endif /* _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user