]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-m68k/motorola_pgtable.h
m68k: kill page walker compile warning
[linux-2.6-omap-h63xx.git] / include / asm-m68k / motorola_pgtable.h
index d029b75bcf04b31af41bc79074b76736db4ccad2..13135d4821d8f1a3bfd4f6aecc9070b008db4c7d 100644 (file)
@@ -191,7 +191,8 @@ static inline pte_t pte_mkcache(pte_t pte)
 #define pgd_index(address)     ((address) >> PGDIR_SHIFT)
 
 /* to find an entry in a page-table-directory */
-static inline pgd_t *pgd_offset(struct mm_struct *mm, unsigned long address)
+static inline pgd_t *pgd_offset(const struct mm_struct *mm,
+                               unsigned long address)
 {
        return mm->pgd + pgd_index(address);
 }