summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/include/asm/thread_info.h
diff options
context:
space:
mode:
authorRobin Getz <rgetz@blackfin.uclinux.org>2009-01-07 23:14:38 +0800
committerBryan Wu <cooloney@kernel.org>2009-01-07 23:14:38 +0800
commita45d575f53c9ed2926840377e59aa19e2024ee87 (patch)
tree0789f43eaee963ea5c4f4f011080b4e36a77c7eb /arch/blackfin/include/asm/thread_info.h
parentf768a0eb90831ced2129df6ccba6f1177fa5a0fa (diff)
downloadop-kernel-dev-a45d575f53c9ed2926840377e59aa19e2024ee87.zip
op-kernel-dev-a45d575f53c9ed2926840377e59aa19e2024ee87.tar.gz
Blackfin arch: Add basic irq stack checking for Blackfin
Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org> Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/include/asm/thread_info.h')
-rw-r--r--arch/blackfin/include/asm/thread_info.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/thread_info.h b/arch/blackfin/include/asm/thread_info.h
index 6427693..1d380de 100644
--- a/arch/blackfin/include/asm/thread_info.h
+++ b/arch/blackfin/include/asm/thread_info.h
@@ -44,6 +44,7 @@
*/
#define THREAD_SIZE_ORDER 1
#define THREAD_SIZE 8192 /* 2 pages */
+#define STACK_WARN (THREAD_SIZE/8)
#ifndef __ASSEMBLY__
OpenPOWER on IntegriCloud