Sign in
googlers
/
maze
/
linux
/
9e636452d0714b08e4f8f4c58b76c4b7d15ffffa
/
.
/
arch
/
um
/
include
/
shared
/
task.h
blob: 3db6b58b505e14e2e95c026573af789ed8555168 [
file
] [
log
] [
blame
]
#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