mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-15 14:15:21 +08:00
Make <machine/atomic.h> available to user space
Enables use of <sys/refcount.h> in user space.
This commit is contained in:
@@ -40,10 +40,6 @@
|
|||||||
#ifndef _RTEMS_BSD_MACHINE_ATOMIC_H_
|
#ifndef _RTEMS_BSD_MACHINE_ATOMIC_H_
|
||||||
#define _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>
|
#include <rtems.h>
|
||||||
|
|
||||||
#ifdef RTEMS_SMP
|
#ifdef RTEMS_SMP
|
||||||
|
Reference in New Issue
Block a user