[PATCH 2/2] rtems: Delete unused <rtems/rtems/atomic.h>
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Jun 26 11:33:38 UTC 2014
---
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(-)
delete mode 100644 cpukit/rtems/include/rtems/rtems/atomic.h
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
--
1.7.7
More information about the devel
mailing list