Linux 2.6.25
[linux-2.6/s3c2410-cpufreq.git] / arch / um / include / task.h
blob3fe726b3cf48ba7bf373eac466b3e44ea2f22095
1 #ifndef __TASK_H
2 #define __TASK_H
4 #include <kern_constants.h>
6 #define TASK_REGS(task) ((struct uml_pt_regs *) &(((char *) (task))[HOST_TASK_REGS]))
7 #define TASK_PID(task) *((int *) &(((char *) (task))[HOST_TASK_PID]))
9 #endif