summaryrefslogtreecommitdiffstats
path: root/nuttx/arch/arm/src/common
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2010-07-16 02:35:47 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2010-07-16 02:35:47 +0000
commitd4225dab0a26f6df23184196f49b27a4b79a6248 (patch)
treefc68b0204e4027d7252f6fad95007bd5573e92b8 /nuttx/arch/arm/src/common
parent7c843f54c85ea951429c87275aad1ee5ca63bfd6 (diff)
Fix interrupt stack compilation problem
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@2803 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/arch/arm/src/common')
-rw-r--r--nuttx/arch/arm/src/common/up_internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/common/up_internal.h b/nuttx/arch/arm/src/common/up_internal.h
index e95d5a7726..94fff12a1e 100644
--- a/nuttx/arch/arm/src/common/up_internal.h
+++ b/nuttx/arch/arm/src/common/up_internal.h
@@ -120,7 +120,11 @@ extern uint32_t g_heapbase;
/* Address of the saved user stack pointer */
#if CONFIG_ARCH_INTERRUPTSTACK > 3
+# ifdef CONFIG_ARCH_CORTEXM3
+extern void g_intstackbase;
+# else
extern uint32_t g_userstack;
+# endif
#endif
/* These 'addresses' of these values are setup by the linker script. They are