]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
uml: remove sysdep/thread.h
authorJeff Dike <jdike@addtoit.com>
Tue, 16 Oct 2007 08:26:54 +0000 (01:26 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 16 Oct 2007 16:43:05 +0000 (09:43 -0700)
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>
arch/um/include/sysdep-i386/kernel-offsets.h
arch/um/include/sysdep-i386/sigcontext.h
arch/um/include/sysdep-i386/thread.h [deleted file]
arch/um/include/sysdep-x86_64/thread.h [deleted file]
arch/um/sys-i386/ptrace_user.c

index 97ec9d894d7539a7ef61c08b4196b01b547d6e91..5868526b5eefa3017b784ad1a48c45b6be7ceacf 100644 (file)
@@ -17,6 +17,5 @@
 
 void foo(void)
 {
-       OFFSET(HOST_TASK_DEBUGREGS, task_struct, thread.arch.debugregs);
 #include <common-offsets.h>
 }
index 8658634ca4f48c1d43bcce33fee50c2509566fe0..a930ce3d48318d0c008b499a473052c986c89f01 100644 (file)
@@ -7,7 +7,8 @@
 #define __SYS_SIGCONTEXT_I386_H
 
 #include "uml-config.h"
-#include <sysdep/sc.h>
+#include "skas.h"
+#include "sysdep/sc.h"
 
 #define IP_RESTART_SYSCALL(ip) ((ip) -= 2)
 
diff --git a/arch/um/include/sysdep-i386/thread.h b/arch/um/include/sysdep-i386/thread.h
deleted file mode 100644 (file)
index 0cf7bf6..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-#ifndef __UM_THREAD_H
-#define __UM_THREAD_H
-
-#include <kern_constants.h>
-
-#define TASK_DEBUGREGS(task) ((unsigned long *) &(((char *) (task))[HOST_TASK_DEBUGREGS]))
-
-#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 (file)
index d73d0b0..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef __UM_THREAD_H
-#define __UM_THREAD_H
-
-#include <kern_constants.h>
-
-#endif
index b68dd230e64660cf6f90cdb2efc971639f21dd5d..15e3349961d0dae0b3bfbcb4b9b56226ee446c71 100644 (file)
@@ -11,7 +11,6 @@
 /* Grr, asm/user.h includes asm/ptrace.h, so has to follow ptrace_user.h */
 #include <asm/user.h>
 #include "kern_util.h"
-#include "sysdep/thread.h"
 #include "user.h"
 #include "os.h"
 #include "uml-config.h"