Skip to content
  • David S. Miller's avatar
    [SPARC64]: Fix new context version SMP handling. · ee29074d
    David S. Miller authored
    
    
    Don't piggy back the SMP receive signal code to do the
    context version change handling.
    
    Instead allocate another fixed PIL number for this
    asynchronous cross-call.  We can't use smp_call_function()
    because this thing is invoked with interrupts disabled
    and a few spinlocks held.
    
    Also, fix smp_call_function_mask() to count "cpus" correctly.
    There is no guarentee that the local cpu is in the mask
    yet that is exactly what this code was assuming.
    
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    ee29074d