[PATCH] x86_64: Handle unknown node (-1) in alloc_pages_node
authorAndi Kleen <ak@suse.de>
Wed, 11 Jan 2006 21:43:45 +0000 (22:43 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 12 Jan 2006 03:04:51 +0000 (19:04 -0800)
commit819a692804a8d2d42b7bb033d2650dba47622149
treea3b614679c0ee42bec418c933d96e194884031d1
parent1584b89c921acefe88881f08d836d80f00600a84
[PATCH] x86_64: Handle unknown node (-1) in alloc_pages_node

Following kmalloc_node.

Needed for another patch to return -1 for unknown nodes in x86-64.

Cc: Christoph Lameter <clameter@engr.sgi.com>
Cc: kiran@scalex86.org
Signed-off-by: Andi Kleen <ak@suse.de>
[ Changed 0 to numa_node_id() on suggestion by Christoph Lameter ]
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/gfp.h