mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-27 01:02:48 +01:00
kernel: unbreak min/max template deduction on Apple Clang
This commit is contained in:
parent
7d0a77a825
commit
e9e1e7aa3a
1 changed files with 2 additions and 2 deletions
|
@ -2144,8 +2144,8 @@ void KPageTable::RemapPageGroup(PageLinkedList* page_list, KProcessAddress addre
|
||||||
const KMemoryInfo info = it->GetMemoryInfo();
|
const KMemoryInfo info = it->GetMemoryInfo();
|
||||||
|
|
||||||
// Determine the range to map.
|
// Determine the range to map.
|
||||||
KProcessAddress map_address = std::max(info.GetAddress(), start_address);
|
KProcessAddress map_address = std::max<VAddr>(info.GetAddress(), start_address);
|
||||||
const KProcessAddress map_end_address = std::min(info.GetEndAddress(), end_address);
|
const KProcessAddress map_end_address = std::min<VAddr>(info.GetEndAddress(), end_address);
|
||||||
ASSERT(map_end_address != map_address);
|
ASSERT(map_end_address != map_address);
|
||||||
|
|
||||||
// Determine if we should disable head merge.
|
// Determine if we should disable head merge.
|
||||||
|
|
Loading…
Reference in a new issue