Files
linux/arch
Andi Kleen 75bd665cc9 [PATCH] x86_64: Fix fast check in safe_smp_processor_id
The APIC ID returned by hard_smp_processor_id can be beyond
NR_CPUS and then overflow the x86_cpu_to_apic[] array.

Add a check for overflow. If it happens then the slow loop below
will catch.

Bug pointed out by Doug Thompson

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-26 10:48:21 -07:00
..
2006-06-25 10:01:06 -07:00
2006-06-23 07:43:08 -07:00
2006-06-25 10:00:58 -07:00
2006-06-25 10:01:06 -07:00
2006-06-23 23:17:48 -07:00
2006-06-25 10:01:06 -07:00