aboutsummaryrefslogtreecommitdiff
path: root/src/bkl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bkl.c')
-rw-r--r--src/bkl.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bkl.c b/src/bkl.c
index 6ee58f4..e831451 100644
--- a/src/bkl.c
+++ b/src/bkl.c
@@ -12,6 +12,11 @@
/** The Big Kernel Lock. */
static spinlock_t bkl = 0;
+void bkl_init()
+{
+ bkl = 0;
+}
+
void bkl_lock()
{
spin_lock(&bkl);