summaryrefslogtreecommitdiff
path: root/drivers/sn
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2014-06-21 08:08:08 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-17 16:21:03 -0700
commitec10ade4090d1be88d35b0c3432c710d24f6323a (patch)
treea0c9a786e0b5f7a71bd85623805e40ff2669ed01 /drivers/sn
parentf53acc0b5b403434e038dd4ee9f83f63fdf3390f (diff)
i8k: Fix non-SMP operation
commit 6d827fbcc370ca259a2905309f64161ab7b10596 upstream. Commit f36fdb9f0266 (i8k: Force SMM to run on CPU 0) adds support for multi-core CPUs to the driver. Unfortunately, that causes it to fail loading if compiled without SMP support, at least on 32 bit kernels. Kernel log shows "i8k: unable to get SMM Dell signature", and function i8k_smm is found to return -EINVAL. Testing revealed that the culprit is the missing return value check of set_cpus_allowed_ptr. Fixes: f36fdb9f0266 (i8k: Force SMM to run on CPU 0) Reported-by: Jim Bos <jim876@xs4all.nl> Tested-by: Jim Bos <jim876@xs4all.nl> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Cc: Andreas Mohr <andi@lisas.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/sn')
0 files changed, 0 insertions, 0 deletions