From 9b352068fab4e4fbe6073e0014ec906503dc13c8 Mon Sep 17 00:00:00 2001 From: KOSAKI Motohiro Date: Wed, 9 Apr 2008 12:26:10 +0900 Subject: [PATCH] --- yaml --- r: 89473 b: refs/heads/master c: e4b05d4097eb6dab08bda86a72f6fdfdd9816395 h: refs/heads/master i: 89471: 0c8271789b53c9d7a574b3ddd5909e4f87ce3f03 v: v3 --- [refs] | 2 +- trunk/include/asm-ia64/pgtable.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 6ee16e2389f3..77a6be39d477 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3975afffd32b84c0ad6797debe5abd179f44a698 +refs/heads/master: e4b05d4097eb6dab08bda86a72f6fdfdd9816395 diff --git a/trunk/include/asm-ia64/pgtable.h b/trunk/include/asm-ia64/pgtable.h index e6204f14f614..ed70862ea247 100644 --- a/trunk/include/asm-ia64/pgtable.h +++ b/trunk/include/asm-ia64/pgtable.h @@ -371,7 +371,7 @@ pgd_index (unsigned long address) /* The offset in the 1-level directory is given by the 3 region bits (61..63) and the level-1 bits. */ static inline pgd_t* -pgd_offset (struct mm_struct *mm, unsigned long address) +pgd_offset (const struct mm_struct *mm, unsigned long address) { return mm->pgd + pgd_index(address); }