• Andrew Morton's avatar
    [PATCH] Oprofile: fix nmi_timer_int detection · 01d5c986
    Andrew Morton authored
    From: Philippe Elie <phil.el@wanadoo.fr>
    
    From: Zwane Mwaikambo <zwane@arm.linux.org.uk>
    
    The nmi_timer_int oprofile driver was enabling itself unconditionally if an
    SMP kernel was being used on a UP system without an IOAPIC.
    
    Tested on a P5 using NMI timer int driver and UP system using timer int
    driver both running an SMP kernel.
    
    2004-02-11  Zwane Mwaikambo <zwane@arm.linux.org.uk>
    
    	* arch/i386/kernel/nmi.c: export nmi_active
    	* arch/i386/oprofile/nmi_timer_int.c: use it to check if owe can use
    	  an nmi interrupt
    01d5c986
nmi_timer_int.c 1.09 KB