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>
This commit is contained in:
Jeff Dike 2007-10-16 01:26:54 -07:00 committed by Linus Torvalds
parent 42fda66387
commit c28b59d477
5 changed files with 2 additions and 17 deletions

View file

@ -17,6 +17,5 @@
void foo(void)
{
OFFSET(HOST_TASK_DEBUGREGS, task_struct, thread.arch.debugregs);
#include <common-offsets.h>
}

View 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)

View file

@ -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

View file

@ -1,6 +0,0 @@
#ifndef __UM_THREAD_H
#define __UM_THREAD_H
#include <kern_constants.h>
#endif

View 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"