android_kernel_cmhtcleo/arch/um/include/shared/task.h

10 lines
228 B
C
Raw Normal View History

2010-08-27 09:19:57 +00:00
#ifndef __TASK_H
#define __TASK_H
#include <kern_constants.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