mm: make some struct page's const
authorIan Campbell <[email protected]>
Tue, 26 Jul 2011 00:11:51 +0000 (17:11 -0700)
committerLinus Torvalds <[email protected]>
Tue, 26 Jul 2011 03:57:07 +0000 (20:57 -0700)
commit33dd4e0ec91138c3d80e790c08a3db47426c81f2
tree5b244874a004cc8a34033846f4e504c9306bf025
parentee8f248d266ec6966c0ce6b7dec24de43dcc1b58
mm: make some struct page's const

These uses are read-only and in a subsequent patch I have a const struct
page in my hand...

[[email protected]: fix warnings in lowmem_page_address()]
Signed-off-by: Ian Campbell <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Michel Lespinasse <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/mm.h
mm/sparse.c