[PATCH] alpha: Fix getxpid on alpha so it works for threads
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 1 Feb 2006 11:06:12 +0000 (03:06 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 1 Feb 2006 16:53:21 +0000 (08:53 -0800)
commit9a5e7339908d7d718ebc4149b77eee06291bdb95
treec4de6c51b7e9783fb32948539f6b6b09139bc8f5
parent975b3d3d5b983eb60706d35f0d24cd19f6badabf
[PATCH] alpha: Fix getxpid on alpha so it works for threads

While looking in the code I discovered that alpha has fallen behind because
it doesn't use sys_getppid.  The problem is that it doesn't follow the task
struct to the task_group_leader.

Acked-by: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/alpha/kernel/asm-offsets.c
arch/alpha/kernel/entry.S