]> git.hungrycats.org Git - linux/commitdiff
[ARM] Fix another case of looking at task_struct instead of thread_info
authorRussell King <rmk@flint.arm.linux.org.uk>
Sun, 27 Apr 2003 16:40:55 +0000 (17:40 +0100)
committerRussell King <rmk@flint.arm.linux.org.uk>
Sun, 27 Apr 2003 16:40:55 +0000 (17:40 +0100)
arch/arm/kernel/process.c

index e7bcb5d142140a9d19cdc2aaae2f6af542402e0d..bf27843cf3dd7ec2def8f967648aea0dd7205f80 100644 (file)
@@ -418,7 +418,7 @@ unsigned long get_wchan(struct task_struct *p)
        if (!p || p == current || p->state == TASK_RUNNING)
                return 0;
 
-       stack_page = 4096 + (unsigned long)p;
+       stack_page = 4096 + (unsigned long)p->thread_info;
        fp = thread_saved_fp(p);
        do {
                if (fp < stack_page || fp > 4092+stack_page)