Skip to content

Commit 4e53f27

Browse files
fix(cpus): Initilize addr space cpu bitmap
1 parent c734ab9 commit 4e53f27

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/vm.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ static void vm_cpu_init(struct vm* vm)
2727
{
2828
spin_lock(&vm->lock);
2929
vm->cpus |= (1UL << cpu()->id);
30+
vm->as.cpus |= (1UL << cpu()->id);
3031
spin_unlock(&vm->lock);
3132
}
3233

0 commit comments

Comments
 (0)