summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/spinlock.h
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2012-08-14 14:47:37 -0700
committerIngo Molnar <mingo@kernel.org>2012-08-22 09:52:47 +0200
commit83be4ffa1acbcd529b771f4d2e639b15e2b7957e (patch)
tree2ee17c95c0f0dec2f5e01321987c2f03e58ce204 /arch/x86/include/asm/spinlock.h
parent23dcfa61bac244e1200ff9ad19c6e9144dcb6bb5 (diff)
downloadtalos-obmc-linux-83be4ffa1acbcd529b771f4d2e639b15e2b7957e.tar.gz
talos-obmc-linux-83be4ffa1acbcd529b771f4d2e639b15e2b7957e.zip
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>
Diffstat (limited to 'arch/x86/include/asm/spinlock.h')
-rw-r--r--arch/x86/include/asm/spinlock.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/include/asm/spinlock.h b/arch/x86/include/asm/spinlock.h
index b315a33867f2..33692eaabab5 100644
--- a/arch/x86/include/asm/spinlock.h
+++ b/arch/x86/include/asm/spinlock.h
@@ -12,8 +12,7 @@
* Simple spin lock operations. There are two variants, one clears IRQ's
* on the local processor, one does not.
*
- * These are fair FIFO ticket locks, which are currently limited to 256
- * CPUs.
+ * These are fair FIFO ticket locks, which support up to 2^16 CPUs.
*
* (the type definitions are in asm/spinlock_types.h)
*/
OpenPOWER on IntegriCloud