1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:28:12 +00:00

Kernel: Move Singleton class to AK

This commit is contained in:
Tom 2020-08-21 09:36:51 -06:00 committed by Andreas Kling
parent 0e69ebbce4
commit f0906250a1
31 changed files with 87 additions and 71 deletions

View file

@ -25,13 +25,13 @@
*/
#include <AK/ByteBuffer.h>
#include <AK/Singleton.h>
#include <AK/StringView.h>
#include <Kernel/Devices/PATAChannel.h>
#include <Kernel/Devices/PATADiskDevice.h>
#include <Kernel/FileSystem/ProcFS.h>
#include <Kernel/IO.h>
#include <Kernel/Process.h>
#include <Kernel/Singleton.h>
#include <Kernel/VM/MemoryManager.h>
namespace Kernel {
@ -108,7 +108,7 @@ namespace Kernel {
#define PCI_Mass_Storage_Class 0x1
#define PCI_IDE_Controller_Subclass 0x1
static auto s_pata_lock = make_singleton<Lock>();
static auto s_pata_lock = AK::make_singleton<Lock>();
static Lock& s_lock()
{