]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
cris: add constfy to pgd_offset()
authorKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Mon, 28 Apr 2008 09:13:51 +0000 (02:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:28 +0000 (08:58 -0700)
commit16a26ef5ad31b59c521bd9becccaee84c0157326
tree6650f06644b525bb0420ed68c4998172f8dd3b57
parent5fd284fd976232dbd0d0dc94e07c91e50e2898b2
cris: add constfy to pgd_offset()

add constfy to pgd_offset() for avoid following warnings.

  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 p\
ointer target type

Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Matt Mackall <mpm@selenic.com>
Cc: "Vegard Nossum" <vegard.nossum@gmail.com>
Cc: Mikael Starvik <starvik@axis.com>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-cris/pgtable.h