Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
kernel
/
msm-4.9
/
0f58189d4a3ca96d7959501ecb203177efdbc5bd
/
.
/
arch
/
um
/
include
/
shared
/
task.h
blob: 3fe726b3cf48ba7bf373eac466b3e44ea2f22095 [
file
] [
log
] [
blame
]
#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