summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Dike <jdike@uml.karaya.com>2002-12-28 11:06:05 -0500
committerJeff Dike <jdike@uml.karaya.com>2002-12-28 11:06:05 -0500
commitdc0b606e55bdaec1fd7175f31e8c65cf359e2226 (patch)
tree8985a0f34f425d51d1b03193fcf77462821d5cde
parentdd0ee87506b0e9cf68b0435041c0985d5722cbb5 (diff)
Fixed a couple of problems with the configurable stack size changes.
-rw-r--r--include/asm-um/current.h2
-rw-r--r--include/asm-um/processor-generic.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-um/current.h b/include/asm-um/current.h
index b759315bb06e..adfe568cfcd1 100644
--- a/include/asm-um/current.h
+++ b/include/asm-um/current.h
@@ -14,7 +14,7 @@ struct thread_info;
#include "asm/page.h"
#define CURRENT_THREAD(dummy) (((unsigned long) &dummy) & \
- (PAGE_MASK << CONFIG_KERNEL_SACK_ORDER))
+ (PAGE_MASK << CONFIG_KERNEL_STACK_ORDER))
#define current ({ int dummy; \
((struct thread_info *) CURRENT_THREAD(dummy))->task; })
diff --git a/include/asm-um/processor-generic.h b/include/asm-um/processor-generic.h
index b40a943f356c..61860dc72593 100644
--- a/include/asm-um/processor-generic.h
+++ b/include/asm-um/processor-generic.h
@@ -94,7 +94,7 @@ struct thread_struct {
.request = { 0 } \
}
-#define THREAD_SIZE ((1 << CONFIG_KERNEL_STACK_ORDER) * PAGE_SIZE)
+#define INIT_THREAD_SIZE ((1 << CONFIG_KERNEL_STACK_ORDER) * PAGE_SIZE)
typedef struct {
unsigned long seg;