linux/arch/x86/platform/uv
cpw@sgi.com 00b30cf04a x86, UV: Fix smp_processor_id() use in a preemptable region
Fix a call by tunables_write() to smp_processor_id() within a
preemptable region.

Call get_cpu()/put_cpu() around the region where the returned
cpu number is actually used, which makes it non-preemptable.

A DEBUG_PREEMPT warning is prevented.

UV does not support cpu hotplug yet, but this is a step toward
that ability as well.

Signed-off-by: Cliff Wickman <cpw@sgi.com>
Link: http://lkml.kernel.org/r/20110621122242.086384966@sgi.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2011-06-21 14:50:31 +02:00
..
bios_uv.c x86: Move uv to platform 2010-10-27 14:30:02 +02:00
Makefile x86: Move uv to platform 2010-10-27 14:30:02 +02:00
tlb_uv.c x86, UV: Fix smp_processor_id() use in a preemptable region 2011-06-21 14:50:31 +02:00
uv_irq.c x86: Cleanup the genirq name space 2011-03-12 14:12:00 +01:00
uv_sysfs.c x86: Move uv to platform 2010-10-27 14:30:02 +02:00
uv_time.c x86, UV: Add support for SGI UV2 hub chip 2011-05-25 14:20:13 +02:00