• Stephen Hemminger's avatar
    [PATCH] (6/8) arlan -- add spinlock · 09bdfb05
    Stephen Hemminger authored
    Convert bogus test_and_set local wait, to a real spin_lock so it
    has a chance of working on an SMP.  This also does the right thing
    and locks out interrupts while giving commands on UP;  maybe the
    comment in Kconfig was because there was never a proper mutex...
    
    Don't have real hardware to try this, but it can't be worse than
    the previous code.
    09bdfb05
arlan-main.c 53.4 KB