]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blob - arch/um/include/shared/task.h
Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-omap-h63xx.git] / arch / um / include / shared / task.h
1 #ifndef __TASK_H
2 #define __TASK_H
3
4 #include <kern_constants.h>
5
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]))
8
9 #endif