]> err.no Git - linux-2.6/commit
xip: fix get_zeroed_page with __GFP_HIGHMEM
authorAkinobu Mita <akinobu.mita@gmail.com>
Tue, 8 Jan 2008 23:32:57 +0000 (15:32 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 9 Jan 2008 00:10:36 +0000 (16:10 -0800)
commitc51b1a160b63304720d49479986915e4c475a2cf
tree88de6d01e76ead9920a8b3113830715224af0970
parent0f94e87cdeaaac9f0f9a28a5dd2a5070b87cd3e8
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>
mm/filemap_xip.c