summaryrefslogtreecommitdiff
path: root/kalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'kalloc.c')
-rw-r--r--kalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kalloc.c b/kalloc.c
index 0b22c91..c13a639 100644
--- a/kalloc.c
+++ b/kalloc.c
@@ -15,7 +15,7 @@
#include "proc.h"
#include "spinlock.h"
-struct spinlock kalloc_lock;
+struct spinlock kalloc_lock = { "kalloc" };
struct run {
struct run *next;