summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/h8300
diff options
context:
space:
mode:
authorWeiY <wei.a.yang@gmail.com>2013-07-15 23:31:10 +0800
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-17 13:07:33 +0200
commitd61e54c2e0a475d4544f16b947edce2e07edbe35 (patch)
tree824b3b711ee99fefd1918ebd0f5def5676518c31 /cpukit/score/cpu/h8300
parent34229d52855e98907be78222f4afb7ea62fc105a (diff)
downloadrtems-d61e54c2e0a475d4544f16b947edce2e07edbe35.tar.bz2
update-all-architectures-to-new-atomic-implementation
Diffstat (limited to 'cpukit/score/cpu/h8300')
-rw-r--r--cpukit/score/cpu/h8300/rtems/score/cpuatomic.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/cpukit/score/cpu/h8300/rtems/score/cpuatomic.h b/cpukit/score/cpu/h8300/rtems/score/cpuatomic.h
index fd8064535e..760bbb4a4d 100644
--- a/cpukit/score/cpu/h8300/rtems/score/cpuatomic.h
+++ b/cpukit/score/cpu/h8300/rtems/score/cpuatomic.h
@@ -5,16 +5,13 @@
* atomic data types which are used by the atomic operations API file. This
* file should use fixed name cpuatomic.h and should be included in atomic
* operations API file atomic.h. If the architecture works at the UP mode it
- * will use a generic atomic ops using disable/enable-IRQ simulated. If the
- * the architecture works at SMP mode, most of the parts of implementations
- * are imported from FreeBSD kernel.
+ * will not define atomic ops. If the architecture works at SMP mode, most of
+ * the parts of implementations are based on stdatomic.h.
*/
#ifndef _RTEMS_SCORE_ATOMIC_CPU_H
#define _RTEMS_SCORE_ATOMIC_CPU_H
-#include <rtems/score/genericcpuatomic.h>
-
#ifdef __cplusplus
extern "C" {
#endif
@@ -27,8 +24,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