]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] m68knommu: move definition of kernel stack size
authorGreg Ungerer <gerg@snapgear.com>
Sun, 14 Nov 2004 16:20:13 +0000 (08:20 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 14 Nov 2004 16:20:13 +0000 (08:20 -0800)
Move definition of kernel stack size so that asm files can use it.
Patch submitted by Philippe De Muyter <phdm@macqel.be>.

Signed-off-by: Greg Ungerer <gerg@snapgear.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-m68knommu/thread_info.h

index f45b12a2cd17e80398ce72998a0742ccab666b9c..dcdc2b33dcf722d9ceaeef50ab4f6f9091d358c0 100644 (file)
 
 #ifdef __KERNEL__
 
+/*
+ * Size of kernel stack for each process. This must be a power of 2...
+ */
+#define THREAD_SIZE            8192    /* 2 pages */
+
+
 #ifndef __ASSEMBLY__
 
 /*
@@ -45,12 +51,6 @@ struct thread_info {
 #define init_stack             (init_thread_union.stack)
 
 
-/*
- * Size of kernel stack for each process. This must be a power of 2...
- */
-#define THREAD_SIZE            8192    /* 2 pages */
-
-
 /* how to get the thread information struct from C */
 static inline struct thread_info *current_thread_info(void)
 {