[IA64] pgd_offset() constfication.
authorKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Wed, 9 Apr 2008 03:26:10 +0000 (12:26 +0900)
committerTony Luck <tony.luck@intel.com>
Wed, 9 Apr 2008 17:10:18 +0000 (10:10 -0700)
commite4b05d4097eb6dab08bda86a72f6fdfdd9816395
tree009e910e248bc614bae38313d79234c0331e0ae2
parent3975afffd32b84c0ad6797debe5abd179f44a698
[IA64] pgd_offset() constfication.

when compile 2.6.25-rc8-mm1, below warning happend.
because walk_page_range pass argument as "const struct mm*",
but pgd_offset() receive as "struct mm*".

  CC      mm/pagewalk.o
mm/pagewalk.c: In function 'walk_page_range':
mm/pagewalk.c:111: warning: passing argument 1 of 'pgd_offset' discards qualifiers from pointer target type

Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
include/asm-ia64/pgtable.h