android_kernel_xiaomi_sm8350/arch/um/include/sysdep-x86_64/thread.h

11 lines
199 B
C
Raw Normal View History

#ifndef __UM_THREAD_H
#define __UM_THREAD_H
#include <kern_constants.h>
#ifdef UML_CONFIG_MODE_TT
#define TASK_EXTERN_PID(task) *((int *) &(((char *) (task))[HOST_TASK_EXTERN_PID]))
#endif
#endif