summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@penguin.transmeta.com>2002-05-23 21:23:23 -0700
committerLinus Torvalds <torvalds@penguin.transmeta.com>2002-05-23 21:23:23 -0700
commit9ff2d5362fafb42c8035d11e29e14b640998d46b (patch)
tree832187559131e5c92d44ace49eea38704eb7d491 /include
parentfce9505fd9b84119f97d608dcd34764ffcbfc7b7 (diff)
Clean up tlb_start/end_vma.
Diffstat (limited to 'include')
-rw-r--r--include/asm-i386/tlb.h4
-rw-r--r--include/asm-sparc64/tlb.h8
2 files changed, 6 insertions, 6 deletions
diff --git a/include/asm-i386/tlb.h b/include/asm-i386/tlb.h
index b91e6abd1fd4..844c3d4c9aaa 100644
--- a/include/asm-i386/tlb.h
+++ b/include/asm-i386/tlb.h
@@ -5,8 +5,8 @@
* x86 doesn't need any special per-pte or
* per-vma handling..
*/
-#define tlb_start_vma(tlb, vma, start, end) do { } while (0)
-#define tlb_end_vma(tlb, vma, start, end) do { } while (0)
+#define tlb_start_vma(tlb, vma) do { } while (0)
+#define tlb_end_vma(tlb, vma) do { } while (0)
#define tlb_remove_tlb_entry(tlb, pte, address) do { } while (0)
/*
diff --git a/include/asm-sparc64/tlb.h b/include/asm-sparc64/tlb.h
index f0e011119b40..ebc228702646 100644
--- a/include/asm-sparc64/tlb.h
+++ b/include/asm-sparc64/tlb.h
@@ -3,10 +3,10 @@
#define tlb_flush(tlb) flush_tlb_mm((tlb)->mm)
-#define tlb_start_vma(tlb, vma, start, end) \
- flush_cache_range(vma, start, end)
-#define tlb_end_vma(tlb, vma, start, end) \
- flush_tlb_range(vma, start, end)
+#define tlb_start_vma(tlb, vma) \
+ flush_cache_range(vma, vma->vm_start, vma->vm_end)
+#define tlb_end_vma(tlb, vma) \
+ flush_tlb_range(vma, vma->vm_start, vma->vm_end)
#define tlb_remove_tlb_entry(tlb, pte, address) do { } while (0)