updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / kernel-netbook-ice / mutex-sema.patch
blob3e57e55b77e57bd62bdc1c5ed7911e55140d62d7
1 diff -aur old/src/wl/sys/wl_linux.c new/src/wl/sys/wl_linux.c
2 --- old/src/wl/sys/wl_linux.c 2010-12-25 18:17:33.333343048 +0100
3 +++ new/src/wl/sys/wl_linux.c 2010-12-25 18:21:05.856676376 +0100
4 @@ -483,7 +483,7 @@
5 #ifdef WL_ALL_PASSIVE
6 spin_lock_init(&wl->txq_lock);
7 #endif
8 - init_MUTEX(&wl->sem);
9 + sema_init(&wl->sem, 1);
12 if (!(wl->wlc = wlc_attach((void *) wl, vendor, device, unit, wl->piomode,