forked from Minki/linux
9e636452d0
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Richard Weinberger <richard@nod.at>
10 lines
235 B
C
10 lines
235 B
C
#ifndef __TASK_H
|
|
#define __TASK_H
|
|
|
|
#include <generated/asm-offsets.h>
|
|
|
|
#define TASK_REGS(task) ((struct uml_pt_regs *) &(((char *) (task))[HOST_TASK_REGS]))
|
|
#define TASK_PID(task) *((int *) &(((char *) (task))[HOST_TASK_PID]))
|
|
|
|
#endif
|