Przeglądaj źródła

x86: fix broken flush_tlb_others_ipi(), fix

Impact: cleanup

Use the proper type.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Ingo Molnar 16 lat temu
rodzic
commit
54da5b3d44
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      arch/x86/kernel/tlb_64.c

+ 2 - 1
arch/x86/kernel/tlb_64.c

@@ -188,7 +188,8 @@ static void flush_tlb_others_ipi(const struct cpumask *cpumask,
 	 * We have to send the IPI only to
 	 * We have to send the IPI only to
 	 * CPUs affected.
 	 * CPUs affected.
 	 */
 	 */
-	send_IPI_mask(f->flush_cpumask, INVALIDATE_TLB_VECTOR_START + sender);
+	send_IPI_mask(to_cpumask(f->flush_cpumask),
+		      INVALIDATE_TLB_VECTOR_START + sender);
 
 
 	while (!cpumask_empty(to_cpumask(f->flush_cpumask)))
 	while (!cpumask_empty(to_cpumask(f->flush_cpumask)))
 		cpu_relax();
 		cpu_relax();