All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] percpu: Resolve ambiguities in __get_cpu_var/cpumask_var_t -fix
@ 2014-09-08 22:06 Mel Gorman
  2014-09-08 22:14 ` Tejun Heo
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Mel Gorman @ 2014-09-08 22:06 UTC (permalink / raw)
  To: Christoph Lameter; +Cc: Tejun Heo, LKML

A commit in linux-next was causing boot to fail and bisection identified
the patch "percpu: Resolve ambiguities in __get_cpu_var/cpumask_var_".
The commit ID is worthless as it's a linux-next commit. One of the changes
in that patch looks very suspicious. Reverting the full patch fixes boot
as does this fixlet.

Signed-off-by: Mel Gorman <mgorman@suse.de>
---
 arch/x86/kernel/apic/x2apic_cluster.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/kernel/apic/x2apic_cluster.c b/arch/x86/kernel/apic/x2apic_cluster.c
index 1f5d5f2..e658f21 100644
--- a/arch/x86/kernel/apic/x2apic_cluster.c
+++ b/arch/x86/kernel/apic/x2apic_cluster.c
@@ -43,6 +43,7 @@ __x2apic_send_IPI_mask(const struct cpumask *mask, int vector, int apic_dest)
 	 * and be sure it's manipulated with irq off.
 	 */
 	ipi_mask_ptr = this_cpu_cpumask_var_ptr(ipi_mask);
+	cpumask_copy(ipi_mask_ptr, mask);
 
 	/*
 	 * The idea is to send one IPI per cluster.

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-09-09  6:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-08 22:06 [PATCH] percpu: Resolve ambiguities in __get_cpu_var/cpumask_var_t -fix Mel Gorman
2014-09-08 22:14 ` Tejun Heo
2014-09-08 23:46 ` Christoph Lameter
2014-09-09  0:35   ` Tejun Heo
2014-09-09  5:55     ` Ted Percival
2014-09-09  0:21 ` David Rientjes

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.