From: Guenter Roeck Date: Mon, 23 May 2011 19:06:41 +0000 (-0700) Subject: hwmon: (coretemp) Fix compile error if CONFIG_SMP is not defined X-Git-Tag: v3.0-rc1~339 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb74e8ca352eecefdc5c1a9ebab01f18aa2f6f3c;p=pandora-kernel.git hwmon: (coretemp) Fix compile error if CONFIG_SMP is not defined cpu_sibling_mask() is not defined unless CONFIG_SMP is defined, so it must not be used directly in the code without ifdef protection. To solve the problem and avoid ifdefs in the code, define for_each_sibling() and use it instead. Signed-off-by: Guenter Roeck Cc: Fenghua Yu Cc: Durgadoss R Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed