On Mon, Feb 22, 2010 at 11:38:53AM +0100, Ingo Molnar wrote: > > * Russ Anderson wrote: > > > Enable NMI on all cpus in UV system and add an NMI handler > > to dump_stack on each cpu. > > > > Signed-off-by: Russ Anderson [...] > > struct mm_struct *mm, > > Index: linux/arch/x86/kernel/smpboot.c > > =================================================================== > > --- linux.orig/arch/x86/kernel/smpboot.c 2010-02-17 10:21:55.000000000 -0600 > > +++ linux/arch/x86/kernel/smpboot.c 2010-02-17 10:32:20.000000000 -0600 > > @@ -320,6 +320,8 @@ notrace static void __cpuinit start_seco > > unlock_vector_lock(); > > ipi_call_unlock(); > > per_cpu(cpu_state, smp_processor_id()) = CPU_ONLINE; > > + if (is_uv_system()) > > + uv_nmi_init(); > > Instead of cramming it into the init sequence open-coded, shouldnt this be > done via the x86_platform driver mechanism? Attached is the updated patch with the x86_platform driver mechanism used for uv_nmi_init. > Thanks, > > Ingo -- Russ Anderson, OS RAS/Partitioning Project Lead SGI - Silicon Graphics Inc rja@sgi.com