summaryrefslogtreecommitdiff
path: root/kernel/module.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2008-03-11 13:15:18 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2008-03-11 13:15:18 +1100
commit35dac477820609e7409b486b2b6064ce44173a27 (patch)
tree07e3ccb6ade7ce6c07bfb2a757d4484e48c4c997 /kernel/module.c
parenta309ba636785509e22212e24797beae1119a4c4a (diff)
parent6fcc0ef3af13bcdb603250755b916e423ce4b065 (diff)
Merge commit 'semaphore/semaphore'
Conflicts: Documentation/feature-removal-schedule.txt drivers/firewire/fw-device.c
Diffstat (limited to 'kernel/module.c')
-rw-r--r--kernel/module.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/module.c b/kernel/module.c
index be4807fb90e4..b13be27e0053 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -43,7 +43,6 @@
#include <linux/mutex.h>
#include <linux/unwind.h>
#include <asm/uaccess.h>
-#include <asm/semaphore.h>
#include <asm/cacheflush.h>
#include <linux/license.h>
#include <asm/sections.h>
@@ -664,7 +663,7 @@ static void free_module(struct module *mod);
static void wait_for_zero_refcount(struct module *mod)
{
- /* Since we might sleep for some time, drop the semaphore first */
+ /* Since we might sleep for some time, release the mutex first */
mutex_unlock(&module_mutex);
for (;;) {
DEBUGP("Looking at refcount...\n");