]> git.baikalelectronics.ru Git - kernel.git/commit
mm: make some struct page's const
authorIan Campbell <ian.campbell@citrix.com>
Tue, 26 Jul 2011 00:11:51 +0000 (17:11 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Jul 2011 03:57:07 +0000 (20:57 -0700)
commitdbd5e242cf9a3926b38e1ef5b15d4ee8dde3755f
tree5b244874a004cc8a34033846f4e504c9306bf025
parent11c7b2e62e19d65ca85a2a8bd20b0dd2b8cb9dac
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...

[akpm@linux-foundation.org: fix warnings in lowmem_page_address()]
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Cc: Michel Lespinasse <walken@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mm.h
mm/sparse.c