Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146413
b: refs/heads/master
c: 19e4529
h: refs/heads/master
i:
  146411: 3d614f0
v: v3
  • Loading branch information
Stephen Rothwell authored and James Morris committed Apr 14, 2009
1 parent ad9ab82 commit a628572
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ecfcc53fef3c357574bb6143dce6631e6d56295c
refs/heads/master: 19e4529ee7345079eeacc8e40cf69a304a64dc23
6 changes: 3 additions & 3 deletions trunk/kernel/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@
static DEFINE_MUTEX(module_mutex);
static LIST_HEAD(modules);

/* Block module loading/unloading? */
int modules_disabled = 0;

/* Waiting for a module to finish initializing? */
static DECLARE_WAIT_QUEUE_HEAD(module_wq);

Expand Down Expand Up @@ -778,9 +781,6 @@ static void wait_for_zero_refcount(struct module *mod)
mutex_lock(&module_mutex);
}

/* Block module loading/unloading? */
int modules_disabled = 0;

SYSCALL_DEFINE2(delete_module, const char __user *, name_user,
unsigned int, flags)
{
Expand Down

0 comments on commit a628572

Please sign in to comment.