Skip to contentSkip to conversation

+ kernel-provide-a-__smp_call_function_single-stub-for-config_smp.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Nov 1, 2013

lore
Share & tools
lore
#0 lore raw

Subject: + kernel-provide-a-__smp_call_function_single-stub-for-config_smp.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Fri, 01 Nov 2013 14:58:17 -0700

The patch titled
Subject: kernel: provide a __smp_call_function_single stub for !CONFIG_SMP
has been added to the -mm tree. Its filename is
kernel-provide-a-__smp_call_function_single-stub-for-config_smp.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/kernel-provide-a-__smp_call_function_single-stub-for-config_smp.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/kernel-provide-a-__smp_call_function_single-stub-for-config_smp.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
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

hfsplus-add-metadata-files-clump-size-calculation-functionality.patch hfsplus-implement-attributes-files-header-node-initialization-code.patch hfsplus-implement-attributes-files-header-node-initialization-code-v2.patch hfsplus-implement-attributes-file-creation-functionality.patch hfsplus-implement-attributes-file-creation-functionality-v2.patch linux-next.patch revert-softirq-add-support-for-triggering-softirq-work-on-softirqs.patch kernel-remove-config_use_generic_smp_helpers.patch kernel-provide-a-__smp_call_function_single-stub-for-config_smp.patch kernel-fix-generic_exec_single-indication.patch llists-move-llist_reverse_order-from-raid5-to-llistc.patch kernel-use-lockless-list-for-smp_call_function_single.patch blk-mq-use-__smp_call_function_single-directly.patch