USB: make the usb_device numa_node get assigned from controller
authorYinghai Lu <Yinghai.Lu@Sun.COM>
Mon, 9 Jul 2007 19:03:09 +0000 (12:03 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 12 Jul 2007 23:34:41 +0000 (16:34 -0700)
commit70f458f668aa09cc45384728dec434f2975a3947
treeacf2da4cbd153500cf3492b1629461e17840f303
parent0ffbbe25a73db12792a05f725aa39f8a5de2c882
USB: make the usb_device numa_node get assigned from controller

So we can use dev_to_node(&usb_dev->dev) later in kmalloc_node to dma buffer

Signed-off-by: Yinghai Lu <yinghai.lu@sun.com>
Cc: Andi Kleen <ak@suse.de>
Acked-by: Christoph Lameter <clameter@sgi.com>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/usb.c