Move cpu_spinwait() definition

This commit is contained in:
Sebastian Huber 2013-10-24 10:52:40 +02:00
parent 1bc275660d
commit de3ef24a03
2 changed files with 2 additions and 3 deletions

View File

@ -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)

View File

@ -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_ */