/* does not yet catch signals sent when the child dies. in exit.c or in signal.c. This routine will get a word from the user area in the process kernel stack.  */
static int get_stack_long(struct task_struct *task, int offset)
/* does not yet catch signals sent when the child dies. in exit.c or in signal.c. This routine will get a word from the user area in the process kernel stack.  */
static int get_stack_long(struct task_struct *task, int offset)
{
	unsigned char *stack;
	stack = (unsigned char *)(task->thread.uregs);
	stack += offset;
	return (*((int *)stack));
}