summaryrefslogtreecommitdiff
path: root/mm/madvise.c
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2008-01-09 02:32:57 +0300
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-01-09 03:10:36 +0300
commitc51b1a160b63304720d49479986915e4c475a2cf (patch)
tree88de6d01e76ead9920a8b3113830715224af0970 /mm/madvise.c
parent0f94e87cdeaaac9f0f9a28a5dd2a5070b87cd3e8 (diff)
downloadlinux-c51b1a160b63304720d49479986915e4c475a2cf.tar.xz
xip: fix get_zeroed_page with __GFP_HIGHMEM
The use of get_zeroed_page() with __GFP_HIGHMEM is invalid. Use alloc_page() with __GFP_ZERO instead of invalid get_zeroed_page(). (This patch is only compile tested) Cc: Carsten Otte <cotte@de.ibm.com> Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Acked-by: Hugh Dickins <hugh@veritas.com> Acked-by: Carsten Otte <cotte@de.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/madvise.c')
0 files changed, 0 insertions, 0 deletions