repo.or.cz
/
wrt350n-kernel.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
x86: revert "x86: fix pmd_bad and pud_bad to support huge pages"
[wrt350n-kernel.git]
/
arch
/
um
/
include
/
task.h
blob
3fe726b3cf48ba7bf373eac466b3e44ea2f22095
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