Re: [PATCH] i386 adds smp_call_function_single

From: Keith Owens
Date: Thu Jul 13 2006 - 02:46:20 EST


Stephane Eranian (on Tue, 11 Jul 2006 06:24:22 -0700) wrote:
>+static void
>+__smp_call_function_single(int cpu, void (*func) (void *info), void *info,
>+ int nonatomic, int wait)
>...
>+ wmb();
>+ /* Send a message to all other CPUs and wait for them to respond */
>+ send_IPI_mask(cpumask_of_cpu(cpu), CALL_FUNCTION_VECTOR);

Nit pick. The comment is wrong, one cpu, not all cpus.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/