summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/h8300
diff options
context:
space:
mode:
authorWeiY <wei.a.yang@gmail.com>2013-08-27 15:14:04 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-08-28 14:58:50 +0200
commit58a70b76350022234cd1ce5f3124a00687dda25e (patch)
tree9ea9543c01040671b93c0adad887cff3fe736d5e /cpukit/score/cpu/h8300
parent4288f9fd01f57ff7711bb3d1c4fe22f6ff463980 (diff)
downloadrtems-58a70b76350022234cd1ce5f3124a00687dda25e.tar.bz2
score: Simplify <rtems/score/cpuatomic.h>
Add proper license and copyright.
Diffstat (limited to 'cpukit/score/cpu/h8300')
-rw-r--r--cpukit/score/cpu/h8300/rtems/score/cpuatomic.h36
1 files changed, 6 insertions, 30 deletions
diff --git a/cpukit/score/cpu/h8300/rtems/score/cpuatomic.h b/cpukit/score/cpu/h8300/rtems/score/cpuatomic.h
index 760bbb4a4d..30012456b2 100644
--- a/cpukit/score/cpu/h8300/rtems/score/cpuatomic.h
+++ b/cpukit/score/cpu/h8300/rtems/score/cpuatomic.h
@@ -1,38 +1,14 @@
-/**
- * @file rtems/score/cpuatomic.h
+/*
+ * COPYRIGHT (c) 2012-2013 Deng Hengyi.
*
- * This include file implements the atomic operations for h8300 and defines
- * 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 not define atomic ops. If the architecture works at SMP mode, most of
- * the parts of implementations are based on stdatomic.h.
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.com/license/LICENSE.
*/
#ifndef _RTEMS_SCORE_ATOMIC_CPU_H
#define _RTEMS_SCORE_ATOMIC_CPU_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/**
- * @defgroup RTEMS atomic implementation
- *
- */
-
-/**@{*/
-
-#if !defined(RTEMS_SMP)
-# error "Now atomic implementation only supports SMP mode."
-#else
#include <rtems/score/cpustdatomic.h>
-#endif
-
-#ifdef __cplusplus
-}
-#endif
-/**@}*/
-#endif
-/* end of include file */
+#endif /* _RTEMS_SCORE_ATOMIC_CPU_H */