• Andrew Morton's avatar
    [PATCH] MCE fixes and cleanups · 3aa6ed84
    Andrew Morton authored
    Andi notes that the
    
    	smp_call_function(foo);
    	foo();
    
    in there is incorrect on preemptible kernels.
    
    Fix that by using on_each_cpu(), which takes care of such things.
    
    Also, remove the open-coded timer from here.  We have
    schedule_delayed_work().
    
    And remove the `timerset' variable, which doesn't do anything.
    3aa6ed84
non-fatal.c 1.99 KB