From 5976ad390a15726c3ddfacf8c8b282c8350f9554 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Tue, 29 Oct 2024 21:17:31 +0200 Subject: start moving towards threads always being in rpc --- src/bkl.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/bkl.c') 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); -- cgit v1.3