diff options
Diffstat (limited to 'src/bkl.c')
| -rw-r--r-- | src/bkl.c | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -9,4 +9,15 @@ * Instanciation of the big kernel lock. */ -spinlock_t bkl = 0; +/** The Big Kernel Lock. */ +static spinlock_t bkl = 0; + +void bkl_lock() +{ + spin_lock(&bkl); +} + +void bkl_unlock() +{ + spin_unlock(&bkl); +} |
