summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorNadav Amit <namit@vmware.com>2019-06-13 08:48:11 +0200
committerThomas Gleixner <tglx@linutronix.de>2019-06-23 14:26:25 +0200
commita22793c79d6ea0a492ce1a308ec46df52ee9406e (patch)
tree121364704de5029cdbcecb0ed0df345d71d8f405 /kernel
parentcpu/hotplug: Abort disabling secondary CPUs if wakeup is pending (diff)
downloadlinux-a22793c79d6ea0a492ce1a308ec46df52ee9406e.tar.xz
linux-a22793c79d6ea0a492ce1a308ec46df52ee9406e.zip
smp: Do not mark call_function_data as shared
cfd_data is marked as shared, but although it hold pointers to shared data structures, it is private per core. Signed-off-by: Nadav Amit <namit@vmware.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Andy Lutomirski <luto@kernel.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Dave Hansen <dave.hansen@linux.intel.com> Cc: Rik van Riel <riel@surriel.com> Link: https://lkml.kernel.org/r/20190613064813.8102-8-namit@vmware.com
Diffstat (limited to 'kernel')
-rw-r--r--kernel/smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/smp.c b/kernel/smp.c
index d155374632eb..220ad142f5dd 100644
--- a/kernel/smp.c
+++ b/kernel/smp.c
@@ -34,7 +34,7 @@ struct call_function_data {
cpumask_var_t cpumask_ipi;
};
-static DEFINE_PER_CPU_SHARED_ALIGNED(struct call_function_data, cfd_data);
+static DEFINE_PER_CPU_ALIGNED(struct call_function_data, cfd_data);
static DEFINE_PER_CPU_SHARED_ALIGNED(struct llist_head, call_single_queue);