patch-2.4.7 linux/include/asm-cris/mmu_context.h

Next file: linux/include/asm-cris/ptrace.h
Previous file: linux/include/asm-cris/irq.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.6/linux/include/asm-cris/mmu_context.h linux/include/asm-cris/mmu_context.h
@@ -9,6 +9,12 @@
 
 #define activate_mm(prev,next) switch_mm((prev),(next),NULL,smp_processor_id())
 
+/* current active pgd - this is similar to other processors pgd 
+ * registers like cr3 on the i386
+ */
+
+extern volatile pgd_t *current_pgd;   /* defined in arch/cris/mm/fault.c */
+
 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu)
 {
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)