Kernel: Move Singleton class to AK

This commit is contained in:
Tom 2020-08-21 09:36:51 -06:00 committed by Andreas Kling
commit f0906250a1
Notes: sideshowbarker 2024-07-19 03:19:57 +09:00
31 changed files with 87 additions and 71 deletions

View file

@ -26,6 +26,7 @@
#include <AK/Assertions.h>
#include <AK/Memory.h>
#include <AK/Singleton.h>
#include <AK/StringView.h>
#include <AK/Types.h>
#include <Kernel/ACPI/Parser.h>
@ -34,7 +35,6 @@
#include <Kernel/IO.h>
#include <Kernel/Interrupts/APIC.h>
#include <Kernel/Interrupts/SpuriousInterruptHandler.h>
#include <Kernel/Singleton.h>
#include <Kernel/Thread.h>
#include <Kernel/VM/MemoryManager.h>
#include <Kernel/VM/PageDirectory.h>
@ -69,7 +69,7 @@
namespace Kernel {
static auto s_apic = make_singleton<APIC>();
static auto s_apic = AK::make_singleton<APIC>();
class APICIPIInterruptHandler final : public GenericInterruptHandler {
public: