CPU: use unsigned (u8) priority in suspend_all

This commit is contained in:
Nekotekina 2020-11-09 03:41:56 +03:00
parent 8a50880613
commit bc61835d97
5 changed files with 13 additions and 13 deletions

View file

@ -629,7 +629,7 @@ namespace vm
auto& res = vm::reservation_acquire(addr, 1);
auto* ptr = vm::get_super_ptr(addr & -128);
cpu_thread::suspend_all(get_current_cpu_thread(), {ptr, ptr + 64, &res}, [&]
cpu_thread::suspend_all<+1>(get_current_cpu_thread(), {ptr, ptr + 64, &res}, [&]
{
if (func())
{