/* this routine will get a word off of the processes privileged stack. the offset is how far from the base addr as stored in the THREAD. this routine assumes that all the privileged stacks are in our data space.  */
static long get_user_reg(struct task_struct *task, int offset)
/* this routine will get a word off of the processes privileged stack. the offset is how far from the base addr as stored in the THREAD. this routine assumes that all the privileged stacks are in our data space.  */
static long get_user_reg(struct task_struct *task, int offset)
{
	return task_pt_regs(task)->uregs[offset];
}