]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/sh/mm/hugetlbpage.c
hrtimer: add abstraction functions for accessing the "expires" member
[linux-2.6-omap-h63xx.git] / arch / sh / mm / hugetlbpage.c
index cf2c2ee35a376dab1ef632f27fd1be51bf5e38cd..9304117039c4f887d7a94f70e48a73c6d1549ef8 100644 (file)
@@ -13,7 +13,6 @@
 #include <linux/mm.h>
 #include <linux/hugetlb.h>
 #include <linux/pagemap.h>
-#include <linux/smp_lock.h>
 #include <linux/slab.h>
 #include <linux/sysctl.h>
 
@@ -23,7 +22,8 @@
 #include <asm/tlbflush.h>
 #include <asm/cacheflush.h>
 
-pte_t *huge_pte_alloc(struct mm_struct *mm, unsigned long addr)
+pte_t *huge_pte_alloc(struct mm_struct *mm,
+                       unsigned long addr, unsigned long sz)
 {
        pgd_t *pgd;
        pud_t *pud;
@@ -79,6 +79,11 @@ int pmd_huge(pmd_t pmd)
        return 0;
 }
 
+int pud_huge(pud_t pud)
+{
+       return 0;
+}
+
 struct page *follow_huge_pmd(struct mm_struct *mm, unsigned long address,
                             pmd_t *pmd, int write)
 {