From: Andreas Herrmann Date: Fri, 17 Apr 2009 10:07:46 +0000 (+0200) Subject: x86: fixup numa_node information for AMD CPU northbridge functions X-Git-Tag: v2.6.31-rc1~417^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b94b3a19b13e094c10f65f24bc358f6ffe4eacd;p=pandora-kernel.git x86: fixup numa_node information for AMD CPU northbridge functions Currently the numa_node attribute for these PCI devices is 0 (it corresponds to the numa_node for PCI bus 0). This is not a big issue but incorrect. This inconsistency can be fixed by reading the node number from CPU NB function 0. [ Impact: fill in dev->numa_node information, to optimize DMA allocations ] Signed-off-by: Andreas Herrmann Cc: jbarnes@virtuousgeek.org LKML-Reference: <20090417100746.GG16198@alberich.amd.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed