aboutsummaryrefslogtreecommitdiff
path: root/include/asm-blackfin/processor.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-blackfin/processor.h')
-rw-r--r--include/asm-blackfin/processor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-blackfin/processor.h b/include/asm-blackfin/processor.h
index c571e958558..1033e5c7601 100644
--- a/include/asm-blackfin/processor.h
+++ b/include/asm-blackfin/processor.h
@@ -30,6 +30,10 @@ static inline void wrusp(unsigned long usp)
extern unsigned long memory_end;
#define TASK_SIZE (memory_end)
+#ifdef __KERNEL__
+#define STACK_TOP TASK_SIZE
+#endif
+
#define TASK_UNMAPPED_BASE 0
struct thread_struct {