summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2011-08-18 20:07:59 +0100
committerRichard Weinberger <richard@nod.at>2011-11-02 14:15:10 +0100
commit445c5786c9ce02b6816bb11fd3394a134fa6d244 (patch)
treef2992420ebb04256d2e919aa905ab85cdde937bf
parentc75d053b701cc098d44b729c8266a2df5ca5206e (diff)
downloadop-kernel-dev-445c5786c9ce02b6816bb11fd3394a134fa6d244.zip
op-kernel-dev-445c5786c9ce02b6816bb11fd3394a134fa6d244.tar.gz
um: kill shared/tlb.h
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Richard Weinberger <richard@nod.at>
-rw-r--r--arch/um/include/shared/tlb.h13
-rw-r--r--arch/um/kernel/process.c2
-rw-r--r--arch/um/kernel/tlb.c1
3 files changed, 1 insertions, 15 deletions
diff --git a/arch/um/include/shared/tlb.h b/arch/um/include/shared/tlb.h
deleted file mode 100644
index 8a50ce1..0000000
--- a/arch/um/include/shared/tlb.h
+++ /dev/null
@@ -1,13 +0,0 @@
-/*
- * Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
- * Licensed under the GPL
- */
-
-#ifndef __TLB_H__
-#define __TLB_H__
-
-#include "um_mmu.h"
-
-extern void force_flush_all(void);
-
-#endif
diff --git a/arch/um/kernel/process.c b/arch/um/kernel/process.c
index 21c1ae7..db44142 100644
--- a/arch/um/kernel/process.c
+++ b/arch/um/kernel/process.c
@@ -20,12 +20,12 @@
#include <linux/threads.h>
#include <asm/current.h>
#include <asm/pgtable.h>
+#include <asm/mmu_context.h>
#include <asm/uaccess.h>
#include "as-layout.h"
#include "kern_util.h"
#include "os.h"
#include "skas.h"
-#include "tlb.h"
/*
* This is a per-cpu array. A processor only modifies its entry and it only
diff --git a/arch/um/kernel/tlb.c b/arch/um/kernel/tlb.c
index d1da8ac..11cadb2 100644
--- a/arch/um/kernel/tlb.c
+++ b/arch/um/kernel/tlb.c
@@ -11,7 +11,6 @@
#include "mem_user.h"
#include "os.h"
#include "skas.h"
-#include "tlb.h"
struct host_vm_change {
struct host_vm_op {
OpenPOWER on IntegriCloud