summaryrefslogtreecommitdiff
path: root/arch/um/include/asm/pgalloc.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-08-13 06:48:01 +0400
committerPaul Mundt <lethal@linux-sh.org>2009-08-13 06:48:01 +0400
commite290861f99131fc42d98012a9ea2dc185f08f8f9 (patch)
tree5c8b92d095d74d03b281711c81bac54bd59989cd /arch/um/include/asm/pgalloc.h
parentb4a757367d36cebddcd332a4024d92f1e87af370 (diff)
parentdbefd606a3b3634799b625f4900336e61c89e868 (diff)
downloadlinux-e290861f99131fc42d98012a9ea2dc185f08f8f9.tar.xz
Merge branch 'sh/stable-updates'
Diffstat (limited to 'arch/um/include/asm/pgalloc.h')
-rw-r--r--arch/um/include/asm/pgalloc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/include/asm/pgalloc.h b/arch/um/include/asm/pgalloc.h
index 718984359f8c..32c8ce4e1515 100644
--- a/arch/um/include/asm/pgalloc.h
+++ b/arch/um/include/asm/pgalloc.h
@@ -40,7 +40,7 @@ static inline void pte_free(struct mm_struct *mm, pgtable_t pte)
__free_page(pte);
}
-#define __pte_free_tlb(tlb,pte) \
+#define __pte_free_tlb(tlb,pte, address) \
do { \
pgtable_page_dtor(pte); \
tlb_remove_page((tlb),(pte)); \
@@ -53,7 +53,7 @@ static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd)
free_page((unsigned long)pmd);
}
-#define __pmd_free_tlb(tlb,x) tlb_remove_page((tlb),virt_to_page(x))
+#define __pmd_free_tlb(tlb,x, address) tlb_remove_page((tlb),virt_to_page(x))
#endif
#define check_pgt_cache() do { } while (0)