From b1fc88d768f13f21ce6ad75eb4b52e0eda866d19 Mon Sep 17 00:00:00 2001 From: KOSAKI Motohiro Date: Mon, 28 Apr 2008 02:13:51 -0700 Subject: [PATCH] --- yaml --- r: 94072 b: refs/heads/master c: 16a26ef5ad31b59c521bd9becccaee84c0157326 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/asm-cris/pgtable.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 8a0d581ce0df..9c84cd508812 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5fd284fd976232dbd0d0dc94e07c91e50e2898b2 +refs/heads/master: 16a26ef5ad31b59c521bd9becccaee84c0157326 diff --git a/trunk/include/asm-cris/pgtable.h b/trunk/include/asm-cris/pgtable.h index 4c373624ee97..829e7a7d9fb9 100644 --- a/trunk/include/asm-cris/pgtable.h +++ b/trunk/include/asm-cris/pgtable.h @@ -231,7 +231,7 @@ static inline void pmd_set(pmd_t * pmdp, pte_t * ptep) #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1)) /* 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); }