diff --git a/AK/Singleton.h b/AK/Singleton.h index 2efa789c0b3..f3c57e5f206 100644 --- a/AK/Singleton.h +++ b/AK/Singleton.h @@ -40,10 +40,10 @@ struct SingletonInstanceCreator { #ifdef KERNEL template -struct SingletonInstanceCreator> { - static Kernel::RecursiveSpinlockProtected* create() +struct SingletonInstanceCreator> { + static Kernel::SpinlockProtected* create() { - return new Kernel::RecursiveSpinlockProtected {}; + return new Kernel::SpinlockProtected {}; } }; #endif