From: Yinghai Lu Date: Wed, 20 Feb 2008 20:41:52 +0000 (-0800) Subject: x86: make dev_to_node return online node X-Git-Tag: v2.6.27-rc1~1106^2~246^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b755de8dfdfef97effaa91379ffafcb81f4d62a1;p=pandora-kernel.git x86: make dev_to_node return online node a numa system (with multi HT chains) may return node without ram. Aka it is not online. Try to get an online node, otherwise return -1. Signed-off-by: Yinghai Lu Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed