From: Mike Travis Date: Thu, 15 Jan 2009 17:19:32 +0000 (-0800) Subject: x86: fix build warning when CONFIG_NUMA not defined. X-Git-Tag: v2.6.30-rc1~3^2~6^2~20^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2a082711905312dc7b6675e913fee0c4689f7ae;p=pandora-kernel.git x86: fix build warning when CONFIG_NUMA not defined. Impact: fix build warning The macro cpu_to_node did not reference it's argument, and instead simply returned a 0. This causes a "unused variable" warning if it's the only reference in a function (show_cache_disable). Replace it with the more correct inline function. Signed-off-by: Mike Travis --- Reading git-diff-tree failed