summaryrefslogtreecommitdiff
path: root/nuttx/arch/hc/include/syscall.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-08-05 21:57:49 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-08-05 21:57:49 +0000
commitdc0299c4649815ba8b5740fc8b211dad1d7bc3bd (patch)
treeaad85b8a93bf5ca1c243fb8ec154dd7c0e0ccd2e /nuttx/arch/hc/include/syscall.h
parent8f0b435a518c39a6141bbf888aa4bcd879808d44 (diff)
downloadpx4-nuttx-dc0299c4649815ba8b5740fc8b211dad1d7bc3bd.tar.gz
px4-nuttx-dc0299c4649815ba8b5740fc8b211dad1d7bc3bd.tar.bz2
px4-nuttx-dc0299c4649815ba8b5740fc8b211dad1d7bc3bd.zip
Name change: Change Cortex-M3 naming to ARMv7-M naming so support Cortex-M4
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3846 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/hc/include/syscall.h')
-rw-r--r--nuttx/arch/hc/include/syscall.h16
1 files changed, 4 insertions, 12 deletions
diff --git a/nuttx/arch/hc/include/syscall.h b/nuttx/arch/hc/include/syscall.h
index 565ae2c4a..ff7117946 100644
--- a/nuttx/arch/hc/include/syscall.h
+++ b/nuttx/arch/hc/include/syscall.h
@@ -1,5 +1,5 @@
/****************************************************************************
- * arch/arm/include/syscall.h
+ * arch/hc/include/syscall.h
*
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -37,21 +37,13 @@
* through include/syscall.h or include/sys/sycall.h
*/
-#ifndef _ARCH_ARM_INCLUDE_SYSCALL_H
-#define _ARCH_ARM_INCLUDE_SYSCALL_H
+#ifndef _ARCH_HC_INCLUDE_SYSCALL_H
+#define _ARCH_HC_INCLUDE_SYSCALL_H
/****************************************************************************
* Included Files
****************************************************************************/
-/* Include ARM architecture-specific syscall macros */
-
-#ifdef CONFIG_ARCH_CORTEXM3
-# include <arch/cortexm3/irq.h>
-#else
-# include <arch/arm/irq.h>
-#endif
-
/****************************************************************************
* Definitions
****************************************************************************/
@@ -86,5 +78,5 @@ extern "C" {
#endif
#endif
-#endif /* _ARCH_ARM_INCLUDE_SYSCALL_H */
+#endif /* _ARCH_HC_INCLUDE_SYSCALL_H */