Fix up GFP_ZONEMASK for GFP_DMA32 usage
authorLinus Torvalds <torvalds@g5.osdl.org>
Wed, 23 Nov 2005 03:39:30 +0000 (19:39 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 23 Nov 2005 03:39:30 +0000 (19:39 -0800)
commitac3461ad632e86e7debd871776683c05ef3ba4c6
tree98ea9272b3e9d05499f1a4fbf10e998f6d476fa5
parent4b4a27dff4e2d4cc2eac1cde31aede834a966a48
Fix up GFP_ZONEMASK for GFP_DMA32 usage

There was some confusion about the different zone usage, this should fix
up the resulting mess in the GFP zonemask handling.

The different zone usage is still confusing (it's very easy to mix up
the individual zone numbers with the GFP zone _list_ numbers), so we
might want to clean up some of this in the future, but in the meantime
this should fix the actual problems.

Acked-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/gfp.h
include/linux/mmzone.h