From bb74e8ca352eecefdc5c1a9ebab01f18aa2f6f3c Mon Sep 17 00:00:00 2001 From: Guenter Roeck Date: Mon, 23 May 2011 12:06:41 -0700 Subject: [PATCH] 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-format-patch failed