[rtems-libbsd commit] Make <machine/atomic.h> available to user space

Sebastian Huber sebh at rtems.org
Mon Oct 24 06:14:18 UTC 2016


Module:    rtems-libbsd
Branch:    master
Commit:    390e1330cff0b822db5aeb9113ac03b69171174e
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=390e1330cff0b822db5aeb9113ac03b69171174e

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Oct 24 08:02:13 2016 +0200

Make <machine/atomic.h> available to user space

Enables use of <sys/refcount.h> in user space.

---

 rtemsbsd/include/machine/atomic.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/rtemsbsd/include/machine/atomic.h b/rtemsbsd/include/machine/atomic.h
index 6e92325..fa2b005 100644
--- a/rtemsbsd/include/machine/atomic.h
+++ b/rtemsbsd/include/machine/atomic.h
@@ -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




More information about the vc mailing list