[PATCH] (6/8) arlan -- add spinlock
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.
Showing
Please register or sign in to comment