From: William Lee Irwin III <wli@holomorphy.com>

The stack is now shared with struct thread_info on most arches, not task_t. 
This mostly affects get_wchan() and stack usage debug.


---

 25-akpm/arch/m68knommu/kernel/process.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN arch/m68knommu/kernel/process.c~m68knommu-stack-bounds-checking arch/m68knommu/kernel/process.c
--- 25/arch/m68knommu/kernel/process.c~m68knommu-stack-bounds-checking	2004-04-17 01:11:52.737109656 -0700
+++ 25-akpm/arch/m68knommu/kernel/process.c	2004-04-17 01:11:52.740109200 -0700
@@ -415,7 +415,7 @@ unsigned long get_wchan(struct task_stru
 	stack_page = (unsigned long)p;
 	fp = ((struct switch_stack *)p->thread.ksp)->a6;
 	do {
-		if (fp < stack_page+sizeof(struct task_struct) ||
+		if (fp < stack_page+sizeof(struct thread_info) ||
 		    fp >= 8184+stack_page)
 			return 0;
 		pc = ((unsigned long *)fp)[1];

_