Skip to contentSkip to conversation

kernel-provide-a-__smp_call_function_single-stub-for-config_smp.patch removed from -mm tree

merged [email protected] 1 participant 1 message Nov 15, 2013

lore
Share & tools
lore
#0 lore raw

Subject: [merged] kernel-provide-a-__smp_call_function_single-stub-for-config_smp.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Fri, 15 Nov 2013 12:09:17 -0800

The patch titled
Subject: kernel: provide a __smp_call_function_single stub for !CONFIG_SMP
has been removed from the -mm tree. Its filename was
kernel-provide-a-__smp_call_function_single-stub-for-config_smp.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Christoph Hellwig <[email protected]>
Subject: kernel: provide a __smp_call_function_single stub for !CONFIG_SMP

---

 kernel/up.c |   11 +++++++++++
 1 file changed, 11 insertions(+)
kernel/up.c renamed from kernel/up.c~kernel-provide-a-__smp_call_function_single-stub-for-config_smp +11 -0
diff -puN kernel/up.c~kernel-provide-a-__smp_call_function_single-stub-for-config_smp kernel/up.c
@@ -22,6 +22,17 @@ int smp_call_function_single(int cpu, vo
 }
 EXPORT_SYMBOL(smp_call_function_single);
 
+void __smp_call_function_single(int cpu, struct call_single_data *csd,
+				int wait)
+{
+	unsigned long flags;
+
+	local_irq_save(flags);
+	csd->func(csd->info);
+	local_irq_restore(flags);
+}
+EXPORT_SYMBOL(__smp_call_function_single);
+
 int on_each_cpu(smp_call_func_t func, void *info, int wait)
 {
 	unsigned long flags;

_

Patches currently in -mm which might be from [email protected] are

origin.patch kernel-use-lockless-list-for-smp_call_function_single.patch blk-mq-use-__smp_call_function_single-directly.patch linux-next.patch