aboutsummaryrefslogtreecommitdiffstats
path: root/lib/klist.c
diff options
context:
space:
mode:
authorcodeworkx <codeworkx@cyanogenmod.org>2013-02-15 15:00:11 +0000
committercodeworkx <codeworkx@cyanogenmod.org>2013-02-15 17:30:48 +0000
commitd2bf3b1b3fd61860ce5a061af39aaf156b0e1525 (patch)
tree8a3464968013e0658a6dfb5c4aa39e2d2e6f2e05 /lib/klist.c
parent3c836ee6892e2b52cfd20a441efa8a464deacd6e (diff)
downloadkernel_samsung_espresso10-d2bf3b1b3fd61860ce5a061af39aaf156b0e1525.zip
kernel_samsung_espresso10-d2bf3b1b3fd61860ce5a061af39aaf156b0e1525.tar.gz
kernel_samsung_espresso10-d2bf3b1b3fd61860ce5a061af39aaf156b0e1525.tar.bz2
apply JB update from opensource.samsung.com
Change-Id: Icc00ebd36d574392ca8a432a5af8c27fae87e124
Diffstat (limited to 'lib/klist.c')
-rw-r--r--lib/klist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/klist.c b/lib/klist.c
index 573d606..d0b4b18 100644
--- a/lib/klist.c
+++ b/lib/klist.c
@@ -193,10 +193,10 @@ static void klist_release(struct kref *kref)
if (waiter->node != n)
continue;
+ list_del(&waiter->list);
waiter->woken = 1;
mb();
wake_up_process(waiter->process);
- list_del(&waiter->list);
}
spin_unlock(&klist_remove_lock);
knode_set_klist(n, NULL);