mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-11 20:09:26 +01:00
We can't just plop asm/* into it - userland helpers are built with it in search path and seeing asm/* show up there suddenly would be a bad idea. Signed-off-by: Al Viro <[email protected]> Signed-off-by: H. Peter Anvin <[email protected]>
10 lines
228 B
C
10 lines
228 B
C
#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
|