aboutsummaryrefslogblamecommitdiffstats
path: root/arch/um/include/sysdep-x86_64/thread.h
blob: 6a76a7f3683ff1a821a59101c8162058b339b677 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                                                   
#ifndef __UM_THREAD_H
#define __UM_THREAD_H

#include <kern_constants.h>

#ifdef CONFIG_MODE_TT
#define TASK_EXTERN_PID(task) *((int *) &(((char *) (task))[HOST_TASK_EXTERN_PID]))
#endif

#endif