x86: fix dma_alloc_pages
authorYinghai Lu <Yinghai.Lu@Sun.COM>
Tue, 19 Feb 2008 10:21:45 +0000 (02:21 -0800)
committerIngo Molnar <mingo@elte.hu>
Fri, 21 Mar 2008 16:06:14 +0000 (17:06 +0100)
commit6721fc0a0d87019b08384ac798ca7d51bc5fda4e
treebf1573c24920f47d6cb83c02519953409248eb83
parentae51801ba5ca27c2c571eb508daa99b392e79bd4
x86: fix dma_alloc_pages

memory-less node support:

this patch uses updated dev_to_node, because dev_to_node already makes sure
it returns an online node.

Signed-off-by: Yinghai Lu <yinghai.lu@sun.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/pci-dma_64.c