Commit c28b59d4 authored by Jeff Dike's avatar Jeff Dike Committed by Linus Torvalds

uml: remove sysdep/thread.h

This patch removes thread.h, which turns out not to be needed any more.
Signed-off-by: default avatarJeff Dike <jdike@linux.intel.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 42fda663
...@@ -17,6 +17,5 @@ ...@@ -17,6 +17,5 @@
void foo(void) void foo(void)
{ {
OFFSET(HOST_TASK_DEBUGREGS, task_struct, thread.arch.debugregs);
#include <common-offsets.h> #include <common-offsets.h>
} }
...@@ -7,7 +7,8 @@ ...@@ -7,7 +7,8 @@
#define __SYS_SIGCONTEXT_I386_H #define __SYS_SIGCONTEXT_I386_H
#include "uml-config.h" #include "uml-config.h"
#include <sysdep/sc.h> #include "skas.h"
#include "sysdep/sc.h"
#define IP_RESTART_SYSCALL(ip) ((ip) -= 2) #define IP_RESTART_SYSCALL(ip) ((ip) -= 2)
......
#ifndef __UM_THREAD_H
#define __UM_THREAD_H
#include <kern_constants.h>
#define TASK_DEBUGREGS(task) ((unsigned long *) &(((char *) (task))[HOST_TASK_DEBUGREGS]))
#endif
#ifndef __UM_THREAD_H
#define __UM_THREAD_H
#include <kern_constants.h>
#endif
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
/* Grr, asm/user.h includes asm/ptrace.h, so has to follow ptrace_user.h */ /* Grr, asm/user.h includes asm/ptrace.h, so has to follow ptrace_user.h */
#include <asm/user.h> #include <asm/user.h>
#include "kern_util.h" #include "kern_util.h"
#include "sysdep/thread.h"
#include "user.h" #include "user.h"
#include "os.h" #include "os.h"
#include "uml-config.h" #include "uml-config.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment