diff options
| author | Guenter Roeck <[email protected]> | 2011-05-23 19:06:41 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2011-05-23 18:59:08 +0000 |
| commit | bb74e8ca352eecefdc5c1a9ebab01f18aa2f6f3c (patch) | |
| tree | a57fdd270cf3e41e2de501074d3ac8558cd9b7c2 /drivers/usb/misc/usbtest.c | |
| parent | Merge branch 'timers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/... (diff) | |
| download | kernel-bb74e8ca352eecefdc5c1a9ebab01f18aa2f6f3c.tar.gz kernel-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 <[email protected]>
Cc: Fenghua Yu <[email protected]>
Cc: Durgadoss R <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/usb/misc/usbtest.c')
0 files changed, 0 insertions, 0 deletions
