Update of /cvsroot/linux-vax/kernel-2.4/include/asm-vax/mm
In directory usw-pr-cvs1:/tmp/cvs-serv29747/mm
Modified Files:
pgalloc.h
Log Message:
Add flush_tlb_pgtables()
Index: pgalloc.h
===================================================================
RCS file: /cvsroot/linux-vax/kernel-2.4/include/asm-vax/mm/pgalloc.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- pgalloc.h 2001/01/17 16:18:52 1.1
+++ pgalloc.h 2001/02/05 00:04:21 1.2
@@ -222,6 +222,12 @@
__flush_tlb();
}
+static inline void flush_tlb_pgtables(struct mm_struct *mm,
+ unsigned long start, unsigned long end)
+{
+ /* nothing to do on VAX */
+}
+
#else
/* FIXME: SMP - another day perhaps */
@@ -282,6 +288,15 @@
flush_tlb_mm(mm);
}
+static inline void flush_tlb_pgtables(struct mm_struct *mm,
+ unsigned long start, unsigned long end)
+{
+ /* FIXME: do we need to notify other CPUs that a process
+ page table is going away? I don't think so...
+
+ But what if two processes are sharing this mm_struct and
+ are currently running on two different CPUs? */
+}
#else
@@ -306,6 +321,18 @@
{
flush_tlb();
}
+
+static inline void flush_tlb_pgtables(struct mm_struct *mm,
+ unsigned long start, unsigned long end)
+{
+ /* FIXME: do we need to notify other CPUs that a process
+ page table is going away? I don't think so...
+
+ But what if two processes are sharing this mm_struct and
+ are currently running on two different CPUs? */
+}
+
+
#endif /* clever_smp_invalidate */
#endif /* smp */
|