Macro kernel::spinlock_init[][src]

macro_rules! spinlock_init {
    ($spinlock:expr, $name:literal) => { ... };
}
Expand description

Safely initialises a SpinLock with the given name, generating a new lock class.