aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-10-16 04:26:54 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-16 12:43:05 -0400
commitc28b59d4779a43e9b7e786c7004cbee8fab1527d (patch)
treed549ea48ac27e4f8896bde1b4d7bdfe4d3b1ee2d /arch
parent42fda66387daa53538ae13a2c858396aaf037158 (diff)
uml: remove sysdep/thread.h
This patch removes thread.h, which turns out not to be needed any more. Signed-off-by: Jeff Dike <jdike@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/um/include/sysdep-i386/kernel-offsets.h1
-rw-r--r--arch/um/include/sysdep-i386/sigcontext.h3
-rw-r--r--arch/um/include/sysdep-i386/thread.h8
-rw-r--r--arch/um/include/sysdep-x86_64/thread.h6
-rw-r--r--arch/um/sys-i386/ptrace_user.c1
5 files changed, 2 insertions, 17 deletions
diff --git a/arch/um/include/sysdep-i386/kernel-offsets.h b/arch/um/include/sysdep-i386/kernel-offsets.h
index 97ec9d894d75..5868526b5eef 100644
--- a/arch/um/include/sysdep-i386/kernel-offsets.h
+++ b/arch/um/include/sysdep-i386/kernel-offsets.h
@@ -17,6 +17,5 @@
17 17
18void foo(void) 18void foo(void)
19{ 19{
20 OFFSET(HOST_TASK_DEBUGREGS, task_struct, thread.arch.debugregs);
21#include <common-offsets.h> 20#include <common-offsets.h>
22} 21}
diff --git a/arch/um/include/sysdep-i386/sigcontext.h b/arch/um/include/sysdep-i386/sigcontext.h
index 8658634ca4f4..a930ce3d4831 100644
--- a/arch/um/include/sysdep-i386/sigcontext.h
+++ b/arch/um/include/sysdep-i386/sigcontext.h
@@ -7,7 +7,8 @@
7#define __SYS_SIGCONTEXT_I386_H 7#define __SYS_SIGCONTEXT_I386_H
8 8
9#include "uml-config.h" 9#include "uml-config.h"
10#include <sysdep/sc.h> 10#include "skas.h"
11#include "sysdep/sc.h"
11 12
12#define IP_RESTART_SYSCALL(ip) ((ip) -= 2) 13#define IP_RESTART_SYSCALL(ip) ((ip) -= 2)
13 14
diff --git a/arch/um/include/sysdep-i386/thread.h b/arch/um/include/sysdep-i386/thread.h
deleted file mode 100644
index 0cf7bf6e9e04..000000000000
--- a/arch/um/include/sysdep-i386/thread.h
+++ /dev/null
@@ -1,8 +0,0 @@
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
8#endif
diff --git a/arch/um/include/sysdep-x86_64/thread.h b/arch/um/include/sysdep-x86_64/thread.h
deleted file mode 100644
index d73d0b0afdb7..000000000000
--- a/arch/um/include/sysdep-x86_64/thread.h
+++ /dev/null
@@ -1,6 +0,0 @@
1#ifndef __UM_THREAD_H
2#define __UM_THREAD_H
3
4#include <kern_constants.h>
5
6#endif
diff --git a/arch/um/sys-i386/ptrace_user.c b/arch/um/sys-i386/ptrace_user.c
index b68dd230e646..15e3349961d0 100644
--- a/arch/um/sys-i386/ptrace_user.c
+++ b/arch/um/sys-i386/ptrace_user.c
@@ -11,7 +11,6 @@
11/* Grr, asm/user.h includes asm/ptrace.h, so has to follow ptrace_user.h */ 11/* Grr, asm/user.h includes asm/ptrace.h, so has to follow ptrace_user.h */
12#include <asm/user.h> 12#include <asm/user.h>
13#include "kern_util.h" 13#include "kern_util.h"
14#include "sysdep/thread.h"
15#include "user.h" 14#include "user.h"
16#include "os.h" 15#include "os.h"
17#include "uml-config.h" 16#include "uml-config.h"