summaryrefslogtreecommitdiff
path: root/kernel/intermodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/intermodule.c')
-rw-r--r--kernel/intermodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/intermodule.c b/kernel/intermodule.c
index 09f556507f57..9078649382cf 100644
--- a/kernel/intermodule.c
+++ b/kernel/intermodule.c
@@ -14,7 +14,7 @@
*/
static struct list_head ime_list = LIST_HEAD_INIT(ime_list);
-static spinlock_t ime_lock = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(ime_lock);
static int kmalloc_failed;
struct inter_module_entry {