[rtems commit] rtems: Delete unused <rtems/rtems/atomic.h>

Sebastian Huber sebh at rtems.org
Mon Jun 30 08:24:49 UTC 2014


Module:    rtems
Branch:    master
Commit:    dd510a0b092facdec174b5e5c430deafe866ab78
Changeset: http://git.rtems.org/rtems/commit/?id=dd510a0b092facdec174b5e5c430deafe866ab78

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Jun 26 13:30:59 2014 +0200

rtems: Delete unused <rtems/rtems/atomic.h>

---

 cpukit/rtems/Makefile.am                  |    3 --
 cpukit/rtems/include/rtems/rtems/atomic.h |   35 -----------------------------
 cpukit/rtems/preinstall.am                |    5 ----
 3 files changed, 0 insertions(+), 43 deletions(-)

diff --git a/cpukit/rtems/Makefile.am b/cpukit/rtems/Makefile.am
index eb9b16e..b00e251 100644
--- a/cpukit/rtems/Makefile.am
+++ b/cpukit/rtems/Makefile.am
@@ -53,9 +53,6 @@ include_rtems_rtems_HEADERS += include/rtems/rtems/tasksimpl.h
 include_rtems_rtems_HEADERS += include/rtems/rtems/timer.h
 include_rtems_rtems_HEADERS += include/rtems/rtems/timerimpl.h
 include_rtems_rtems_HEADERS += include/rtems/rtems/types.h
-if HAS_SMP
-include_rtems_rtems_HEADERS += include/rtems/rtems/atomic.h
-endif
 include_rtems_rtems_HEADERS += mainpage.h
 
 if HAS_MP
diff --git a/cpukit/rtems/include/rtems/rtems/atomic.h b/cpukit/rtems/include/rtems/rtems/atomic.h
deleted file mode 100644
index 9d1eb6a..0000000
--- a/cpukit/rtems/include/rtems/rtems/atomic.h
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
- * @file rtems/rtems/atomic.h
- *
- *  This include file provides the application interface
- *  to atomic operations.
- *
- *  The low-level layer of the atomic interface is hidden from the application
- *  and exists between the BSP and RTEMS.
- */
-
-/*  COPYRIGHT (c) 1989-2011.
- *  On-Line Applications Research Corporation (OAR).
- *
- *  The license and distribution terms for this file may be
- *  found in the file LICENSE in this distribution or at
- *  http://www.rtems.org/license/LICENSE.
- */
-
-#ifndef _RTEMS_RTEMS_ATOMIC_H
-#define _RTEMS_RTEMS_ATOMIC_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include <rtems/score/atomic.h>
-
-/**@}*/
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
diff --git a/cpukit/rtems/preinstall.am b/cpukit/rtems/preinstall.am
index 850ff84..e082633 100644
--- a/cpukit/rtems/preinstall.am
+++ b/cpukit/rtems/preinstall.am
@@ -191,11 +191,6 @@ $(PROJECT_INCLUDE)/rtems/rtems/types.h: include/rtems/rtems/types.h $(PROJECT_IN
 	$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/types.h
 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/types.h
 
-if HAS_SMP
-$(PROJECT_INCLUDE)/rtems/rtems/atomic.h: include/rtems/rtems/atomic.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
-	$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/atomic.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/atomic.h
-endif
 $(PROJECT_INCLUDE)/rtems/rtems/mainpage.h: mainpage.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
 	$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtems/mainpage.h
 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/mainpage.h



More information about the vc mailing list