|
@@ -530,6 +530,12 @@ static inline void native_set_pte_at(struct mm_struct *mm, unsigned long addr,
|
|
native_set_pte(ptep, pte);
|
|
native_set_pte(ptep, pte);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+static inline void native_set_pmd_at(struct mm_struct *mm, unsigned long addr,
|
|
|
|
+ pmd_t *pmdp , pmd_t pmd)
|
|
|
|
+{
|
|
|
|
+ native_set_pmd(pmdp, pmd);
|
|
|
|
+}
|
|
|
|
+
|
|
#ifndef CONFIG_PARAVIRT
|
|
#ifndef CONFIG_PARAVIRT
|
|
/*
|
|
/*
|
|
* Rules for using pte_update - it must be called after any PTE update which
|
|
* Rules for using pte_update - it must be called after any PTE update which
|