提交 59f6e207 编写于 作者: M Mel Gorman 提交者: Tejun Heo

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 4ba29684 ("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: NMel Gorman <mgorman@suse.de>
Signed-off-by: NTejun Heo <tj@kernel.org>
Cc: Christoph Lameter <cl@linux.com>
上级 f318f7db
...@@ -43,6 +43,7 @@ __x2apic_send_IPI_mask(const struct cpumask *mask, int vector, int apic_dest) ...@@ -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. * and be sure it's manipulated with irq off.
*/ */
ipi_mask_ptr = this_cpu_cpumask_var_ptr(ipi_mask); 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. * The idea is to send one IPI per cluster.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册