summaryrefslogtreecommitdiffstats
path: root/kernel/smp.c
diff options
context:
space:
mode:
authorChristoph Hellwig2013-11-14 23:32:07 +0100
committerLinus Torvalds2013-11-15 01:32:22 +0100
commit0a06ff068f1255bcd7965ab07bc0f4adc3eb639a (patch)
tree419618fc4573c9d0ff17f383e84fc41071d50004 /kernel/smp.c
parentrevert "softirq: Add support for triggering softirq work on softirqs" (diff)
downloadkernel-qcow2-linux-0a06ff068f1255bcd7965ab07bc0f4adc3eb639a.tar.gz
kernel-qcow2-linux-0a06ff068f1255bcd7965ab07bc0f4adc3eb639a.tar.xz
kernel-qcow2-linux-0a06ff068f1255bcd7965ab07bc0f4adc3eb639a.zip
kernel: remove CONFIG_USE_GENERIC_SMP_HELPERS
We've switched over every architecture that supports SMP to it, so remove the new useless config variable. Signed-off-by: Christoph Hellwig <hch@lst.de> Cc: Jan Kara <jack@suse.cz> Cc: Jens Axboe <axboe@kernel.dk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/smp.c')
-rw-r--r--kernel/smp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/smp.c b/kernel/smp.c
index 46116100f0ee..1c194e20e943 100644
--- a/kernel/smp.c
+++ b/kernel/smp.c
@@ -15,7 +15,6 @@
#include "smpboot.h"
-#ifdef CONFIG_USE_GENERIC_SMP_HELPERS
enum {
CSD_FLAG_LOCK = 0x01,
CSD_FLAG_WAIT = 0x02,
@@ -464,7 +463,6 @@ int smp_call_function(smp_call_func_t func, void *info, int wait)
return 0;
}
EXPORT_SYMBOL(smp_call_function);
-#endif /* USE_GENERIC_SMP_HELPERS */
/* Setup configured maximum number of CPUs to activate */
unsigned int setup_max_cpus = NR_CPUS;