Skip to content

Commit

Permalink
percpu: Resolve ambiguities in __get_cpu_var/cpumask_var_t -fix
Browse files Browse the repository at this point in the history
A commit in linux-next was causing boot to fail and bisection
identified the patch 4ba2968 ("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 <mgorman@suse.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Christoph Lameter <cl@linux.com>
  • Loading branch information
Mel Gorman authored and htejun committed Sep 8, 2014
1 parent f318f7d commit 59f6e20
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/x86/kernel/apic/x2apic_cluster.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 59f6e20

Please sign in to comment.