powerpc: Implement task_pt_regs() accessor
authorSrinivasa Ds <srinivasa@in.ibm.com>
Mon, 7 Jul 2008 14:22:27 +0000 (00:22 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 9 Jul 2008 06:30:44 +0000 (16:30 +1000)
commite5093ff05d36c64e8f36a9ddb26358256dc133ea
tree06e27ffb2a70ddb293c56aaf6499e618fce761d1
parent058c78f4ba89df7b2de82ac271452f09e2b8fa05
powerpc: Implement task_pt_regs() accessor

The task_pt_regs() macro allows access to the pt_regs of a given task.

This macro is not currently defined for the powerpc architecture, but
we need it for some upcoming utrace additions.

Signed-off-by: Srinivasa DS <srinivasa@in.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
include/asm-powerpc/processor.h