repo.or.cz
/
pv_ops_mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
uml: kernel_thread shouldn't panic
[pv_ops_mirror.git]
/
arch
/
um
/
include
/
sysdep-i386
/
thread.h
blob
243fed44d780693ca0c0e374605443ac1ef53742
1
#ifndef __UM_THREAD_H
2
#define __UM_THREAD_H
3
4
#include <kern_constants.h>
5
6
#define TASK_DEBUGREGS(task) ((unsigned long *) &(((char *) (task))[HOST_TASK_DEBUGREGS]))
7
#ifdef UML_CONFIG_MODE_TT
8
#define TASK_EXTERN_PID(task) *((int *) &(((char *) (task))[HOST_TASK_EXTERN_PID]))
9
#endif
10
11
#endif