summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2011-08-17 16:40:33 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2011-08-17 20:00:20 (GMT)
commitaa462abe8aaf2198d6aef97da20c874ac694a39f (patch)
treef7c1b4e82fe8eeaad8ce61a5e9e4d301accaf32b /init
parentf991879473828f320a714e9494fb37a26ccd6b66 (diff)
downloadlinux-aa462abe8aaf2198d6aef97da20c874ac694a39f.tar.xz
mm: fix __page_to_pfn for a const struct page argument
This allows the cast in lowmem_page_address (introduced as a warning fixup to 33dd4e0ec911 "mm: make some struct page's const") to be removed. Propagate const'ness to page_to_section() as well since it is required by __page_to_pfn. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Rik van Riel <riel@redhat.com> Cc: Andrea Arcangeli <aarcange@redhat.com> Cc: Michel Lespinasse <walken@google.com> Cc: Mel Gorman <mel@csn.ul.ie> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions