summaryrefslogtreecommitdiffstats
path: root/drivers/net/can/slcan.c
diff options
context:
space:
mode:
authorGuenter Roeck2011-05-23 21:06:41 +0200
committerLinus Torvalds2011-05-23 20:59:08 +0200
commitbb74e8ca352eecefdc5c1a9ebab01f18aa2f6f3c (patch)
treea57fdd270cf3e41e2de501074d3ac8558cd9b7c2 /drivers/net/can/slcan.c
parentMerge branch 'timers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/... (diff)
downloadkernel-qcow2-linux-bb74e8ca352eecefdc5c1a9ebab01f18aa2f6f3c.tar.gz
kernel-qcow2-linux-bb74e8ca352eecefdc5c1a9ebab01f18aa2f6f3c.tar.xz
kernel-qcow2-linux-bb74e8ca352eecefdc5c1a9ebab01f18aa2f6f3c.zip
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 <guenter.roeck@ericsson.com> Cc: Fenghua Yu <fenghua.yu@intel.com> Cc: Durgadoss R <durgadoss.r@intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/net/can/slcan.c')
0 files changed, 0 insertions, 0 deletions