summaryrefslogtreecommitdiff
path: root/include/asm-m32r/processor.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-m32r/processor.h')
-rw-r--r--include/asm-m32r/processor.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-m32r/processor.h b/include/asm-m32r/processor.h
index 32755bf136de..1a997fc148a2 100644
--- a/include/asm-m32r/processor.h
+++ b/include/asm-m32r/processor.h
@@ -60,6 +60,11 @@ extern struct cpuinfo_m32r cpu_data[];
#define TASK_SIZE (0x00400000UL)
#endif
+#ifdef __KERNEL__
+#define STACK_TOP TASK_SIZE
+#define STACK_TOP_MAX STACK_TOP
+#endif
+
/* This decides where the kernel will search for a free chunk of vm
* space during mmap's.
*/