paravirt: unstatic leave_mm

Make globally leave_mm visible, specifically so that Xen can use it to
shoot-down lazy uses of cr3.

Signed-off-by: Jeremy Fitzhardinge <[email protected]>
Signed-off-by: Chris Wright <[email protected]>
This commit is contained in:
Jeremy Fitzhardinge 2007-07-17 18:37:03 -07:00 • committed by Jeremy Fitzhardinge
commit 5378701324
2 changed files with 5 additions and 2 deletions

View file

@ -32,6 +32,8 @@ static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk)
#endif
}
void leave_mm(unsigned long cpu);
static inline void switch_mm(struct mm_struct *prev,
struct mm_struct *next,
struct task_struct *tsk)