mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-22 09:22:37 +00:00
10ded9493e
Without this patch, uml compile fails with: LD .tmp_vmlinux1 arch/um/kernel/built-in.o: In function `config_gdb_cb': arch/um/kernel/tt/gdb.c:129: undefined reference to `TASK_EXTERN_PID' Tested on i386, but fix needed on x86_64 too AFAICS. Signed-off-by: Miklos Szeredi <miklos@szeredi.hu> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
11 lines
199 B
C
11 lines
199 B
C
#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
|