Re: [PATCH] i386 adds smp_call_function_single

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux