[PATCH 3/6] A new implementation for ARM architecture

WeiY wei.a.yang at gmail.com
Sun Jul 14 09:07:35 UTC 2013


---
 cpukit/score/cpu/arm/rtems/score/cpuatomic.h |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/cpukit/score/cpu/arm/rtems/score/cpuatomic.h b/cpukit/score/cpu/arm/rtems/score/cpuatomic.h
index 227b3ce..0db612b 100644
--- a/cpukit/score/cpu/arm/rtems/score/cpuatomic.h
+++ b/cpukit/score/cpu/arm/rtems/score/cpuatomic.h
@@ -13,8 +13,6 @@
 #ifndef _RTEMS_SCORE_ATOMIC_CPU_H
 #define _RTEMS_SCORE_ATOMIC_CPU_H
 
-#include <rtems/score/genericcpuatomic.h>
-
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -27,8 +25,9 @@ extern "C" {
 /**@{*/
 
 #if !defined(RTEMS_SMP)
-#include <rtems/score/genericatomicops.h>
+# error "Now atomic implementation only supports SMP mode."
 #else
+#include <rtems/score/cpustdatomic.h>
 #endif
 
 #ifdef __cplusplus
-- 
1.7.9.5




More information about the devel mailing list