diff options
Diffstat (limited to 'lib/klist.c')
| -rw-r--r-- | lib/klist.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/klist.c b/lib/klist.c index 573d6068a42..358a368a294 100644 --- a/lib/klist.c +++ b/lib/klist.c @@ -35,7 +35,7 @@   */  #include <linux/klist.h> -#include <linux/module.h> +#include <linux/export.h>  #include <linux/sched.h>  /* @@ -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);  | 
