diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2011-08-18 15:07:39 -0400 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2011-11-02 09:15:08 -0400 |
commit | 5ade8878e03a9a298a71efbf2895aa482e45448a (patch) | |
tree | 4fd681b75b5c9adcddacbca810167cc4e24537e8 /arch/x86/um | |
parent | 1cf5e62ab939022b43634d6608afd10a809b02b9 (diff) |
um: kill shared/task.h and HOST_TASK_REGS
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/x86/um')
-rw-r--r-- | arch/x86/um/bugs_32.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/um/bugs_32.c b/arch/x86/um/bugs_32.c index 7058e1fa903b..a1fba5fb9dbe 100644 --- a/arch/x86/um/bugs_32.c +++ b/arch/x86/um/bugs_32.c | |||
@@ -6,13 +6,15 @@ | |||
6 | #include <signal.h> | 6 | #include <signal.h> |
7 | #include "kern_util.h" | 7 | #include "kern_util.h" |
8 | #include "longjmp.h" | 8 | #include "longjmp.h" |
9 | #include "task.h" | ||
10 | #include "sysdep/ptrace.h" | 9 | #include "sysdep/ptrace.h" |
10 | #include <generated/asm-offsets.h> | ||
11 | 11 | ||
12 | /* Set during early boot */ | 12 | /* Set during early boot */ |
13 | static int host_has_cmov = 1; | 13 | static int host_has_cmov = 1; |
14 | static jmp_buf cmov_test_return; | 14 | static jmp_buf cmov_test_return; |
15 | 15 | ||
16 | #define TASK_PID(task) *((int *) &(((char *) (task))[HOST_TASK_PID])) | ||
17 | |||
16 | static void cmov_sigill_test_handler(int sig) | 18 | static void cmov_sigill_test_handler(int sig) |
17 | { | 19 | { |
18 | host_has_cmov = 0; | 20 | host_has_cmov = 0; |