diff options
author | Len Brown <len.brown@intel.com> | 2005-09-08 01:45:47 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2005-09-08 01:45:47 -0400 |
commit | 64e47488c913ac704d465a6af86a26786d1412a5 (patch) | |
tree | d3b0148592963dcde26e4bb35ddfec8b1eaf8e23 /arch/um/include/tlb.h | |
parent | 4a35a46bf1cda4737c428380d1db5d15e2590d18 (diff) | |
parent | caf39e87cc1182f7dae84eefc43ca14d54c78ef9 (diff) |
Merge linux-2.6 with linux-acpi-2.6
Diffstat (limited to 'arch/um/include/tlb.h')
-rw-r--r-- | arch/um/include/tlb.h | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/arch/um/include/tlb.h b/arch/um/include/tlb.h index c6f9628f39bf..45d7da6c3b2c 100644 --- a/arch/um/include/tlb.h +++ b/arch/um/include/tlb.h | |||
@@ -9,7 +9,7 @@ | |||
9 | #include "um_mmu.h" | 9 | #include "um_mmu.h" |
10 | 10 | ||
11 | struct host_vm_op { | 11 | struct host_vm_op { |
12 | enum { MMAP, MUNMAP, MPROTECT } type; | 12 | enum { NONE, MMAP, MUNMAP, MPROTECT } type; |
13 | union { | 13 | union { |
14 | struct { | 14 | struct { |
15 | unsigned long addr; | 15 | unsigned long addr; |
@@ -38,24 +38,10 @@ extern void mprotect_kernel_vm(int w); | |||
38 | extern void force_flush_all(void); | 38 | extern void force_flush_all(void); |
39 | extern void fix_range_common(struct mm_struct *mm, unsigned long start_addr, | 39 | extern void fix_range_common(struct mm_struct *mm, unsigned long start_addr, |
40 | unsigned long end_addr, int force, | 40 | unsigned long end_addr, int force, |
41 | void (*do_ops)(union mm_context *, | 41 | int (*do_ops)(union mm_context *, |
42 | struct host_vm_op *, int)); | 42 | struct host_vm_op *, int, int, |
43 | void **)); | ||
43 | extern int flush_tlb_kernel_range_common(unsigned long start, | 44 | extern int flush_tlb_kernel_range_common(unsigned long start, |
44 | unsigned long end); | 45 | unsigned long end); |
45 | 46 | ||
46 | extern int add_mmap(unsigned long virt, unsigned long phys, unsigned long len, | ||
47 | int r, int w, int x, struct host_vm_op *ops, int index, | ||
48 | int last_filled, union mm_context *mmu, | ||
49 | void (*do_ops)(union mm_context *, struct host_vm_op *, | ||
50 | int)); | ||
51 | extern int add_munmap(unsigned long addr, unsigned long len, | ||
52 | struct host_vm_op *ops, int index, int last_filled, | ||
53 | union mm_context *mmu, | ||
54 | void (*do_ops)(union mm_context *, struct host_vm_op *, | ||
55 | int)); | ||
56 | extern int add_mprotect(unsigned long addr, unsigned long len, int r, int w, | ||
57 | int x, struct host_vm_op *ops, int index, | ||
58 | int last_filled, union mm_context *mmu, | ||
59 | void (*do_ops)(union mm_context *, struct host_vm_op *, | ||
60 | int)); | ||
61 | #endif | 47 | #endif |