diff options
author | Ian Campbell <[email protected]> | 2011-08-17 17:40:33 +0100 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2011-08-17 13:00:20 -0700 |
commit | aa462abe8aaf2198d6aef97da20c874ac694a39f (patch) | |
tree | f7c1b4e82fe8eeaad8ce61a5e9e4d301accaf32b /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | f991879473828f320a714e9494fb37a26ccd6b66 (diff) |
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 <[email protected]>
Acked-by: Rik van Riel <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: Michel Lespinasse <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions