summaryrefslogtreecommitdiff
path: root/Kernel/Memory/MemoryManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Memory/MemoryManager.h')
-rw-r--r--Kernel/Memory/MemoryManager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Memory/MemoryManager.h b/Kernel/Memory/MemoryManager.h
index 0020a77d6e..0c1e454fd5 100644
--- a/Kernel/Memory/MemoryManager.h
+++ b/Kernel/Memory/MemoryManager.h
@@ -172,7 +172,7 @@ public:
NonnullRefPtr<PhysicalPage> allocate_committed_user_physical_page(Badge<CommittedPhysicalPageSet>, ShouldZeroFill = ShouldZeroFill::Yes);
RefPtr<PhysicalPage> allocate_user_physical_page(ShouldZeroFill = ShouldZeroFill::Yes, bool* did_purge = nullptr);
- RefPtr<PhysicalPage> allocate_supervisor_physical_page();
+ ErrorOr<NonnullRefPtr<PhysicalPage>> allocate_supervisor_physical_page();
ErrorOr<NonnullRefPtrVector<PhysicalPage>> allocate_contiguous_supervisor_physical_pages(size_t size);
void deallocate_physical_page(PhysicalAddress);