mm/page_table_check: remove unused parameter in [__]page_table_check_pmd_set
[linux-2.6-block.git] / arch / x86 / include / asm / pgtable.h
index 5700bb3379877efe1818c4fdc35c5e20a4a3f7fb..9cc26cb0bc9f90f17f48feab774df4a11f8b94a9 100644 (file)
@@ -1023,14 +1023,14 @@ static inline pud_t native_local_pudp_get_and_clear(pud_t *pudp)
 static inline void set_pte_at(struct mm_struct *mm, unsigned long addr,
                              pte_t *ptep, pte_t pte)
 {
-       page_table_check_pte_set(mm, addr, ptep, pte);
+       page_table_check_pte_set(mm, ptep, pte);
        set_pte(ptep, pte);
 }
 
 static inline void set_pmd_at(struct mm_struct *mm, unsigned long addr,
                              pmd_t *pmdp, pmd_t pmd)
 {
-       page_table_check_pmd_set(mm, addr, pmdp, pmd);
+       page_table_check_pmd_set(mm, pmdp, pmd);
        set_pmd(pmdp, pmd);
 }
 
@@ -1068,7 +1068,7 @@ static inline pte_t ptep_get_and_clear(struct mm_struct *mm, unsigned long addr,
                                       pte_t *ptep)
 {
        pte_t pte = native_ptep_get_and_clear(ptep);
-       page_table_check_pte_clear(mm, addr, pte);
+       page_table_check_pte_clear(mm, pte);
        return pte;
 }
 
@@ -1084,7 +1084,7 @@ static inline pte_t ptep_get_and_clear_full(struct mm_struct *mm,
                 * care about updates and native needs no locking
                 */
                pte = native_local_ptep_get_and_clear(ptep);
-               page_table_check_pte_clear(mm, addr, pte);
+               page_table_check_pte_clear(mm, pte);
        } else {
                pte = ptep_get_and_clear(mm, addr, ptep);
        }
@@ -1133,7 +1133,7 @@ static inline pmd_t pmdp_huge_get_and_clear(struct mm_struct *mm, unsigned long
 {
        pmd_t pmd = native_pmdp_get_and_clear(pmdp);
 
-       page_table_check_pmd_clear(mm, addr, pmd);
+       page_table_check_pmd_clear(mm, pmd);
 
        return pmd;
 }
@@ -1144,7 +1144,7 @@ static inline pud_t pudp_huge_get_and_clear(struct mm_struct *mm,
 {
        pud_t pud = native_pudp_get_and_clear(pudp);
 
-       page_table_check_pud_clear(mm, addr, pud);
+       page_table_check_pud_clear(mm, pud);
 
        return pud;
 }
@@ -1167,7 +1167,7 @@ static inline int pud_write(pud_t pud)
 static inline pmd_t pmdp_establish(struct vm_area_struct *vma,
                unsigned long address, pmd_t *pmdp, pmd_t pmd)
 {
-       page_table_check_pmd_set(vma->vm_mm, address, pmdp, pmd);
+       page_table_check_pmd_set(vma->vm_mm, pmdp, pmd);
        if (IS_ENABLED(CONFIG_SMP)) {
                return xchg(pmdp, pmd);
        } else {