Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

x86/spinlocks: Fix comment in spinlock.h

This comment is no longer true. We support up to 2^16 CPUs
because __ticket_t is an u16 if NR_CPUS is larger than 256.

Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>

authored by

Richard Weinberger and committed by
Ingo Molnar
83be4ffa 23dcfa61

+1 -2
+1 -2
arch/x86/include/asm/spinlock.h
··· 12 12 * Simple spin lock operations. There are two variants, one clears IRQ's 13 13 * on the local processor, one does not. 14 14 * 15 - * These are fair FIFO ticket locks, which are currently limited to 256 16 - * CPUs. 15 + * These are fair FIFO ticket locks, which support up to 2^16 CPUs. 17 16 * 18 17 * (the type definitions are in asm/spinlock_types.h) 19 18 */