mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-13 06:35:00 +08:00
Make <machine/atomic.h> available to user space
Enables use of <sys/refcount.h> in user space.
This commit is contained in:
parent
95a12a2ed8
commit
390e1330cf
@ -40,10 +40,6 @@
|
||||
#ifndef _RTEMS_BSD_MACHINE_ATOMIC_H_
|
||||
#define _RTEMS_BSD_MACHINE_ATOMIC_H_
|
||||
|
||||
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_KERNEL_SPACE_H_
|
||||
#error "the header file <machine/rtems-bsd-kernel-space.h> must be included first"
|
||||
#endif
|
||||
|
||||
#include <rtems.h>
|
||||
|
||||
#ifdef RTEMS_SMP
|
||||
|
Loading…
x
Reference in New Issue
Block a user