From: Mel Gorman Date: Mon, 8 Sep 2014 22:06:54 +0000 (+0100) Subject: percpu: Resolve ambiguities in __get_cpu_var/cpumask_var_t -fix X-Git-Tag: v4.14-rc1~6645^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=59f6e2073c72d36c814a4417320bfa4874faa228;p=platform%2Fkernel%2Flinux-rpi.git percpu: Resolve ambiguities in __get_cpu_var/cpumask_var_t -fix A commit in linux-next was causing boot to fail and bisection identified the patch 4ba2968420fa ("percpu: Resolve ambiguities in __get_cpu_var/cpumask_var_"). 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 Signed-off-by: Tejun Heo Cc: Christoph Lameter --- 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.