diff --git a/kernel/syscall.c b/kernel/syscall.c index c71d0cc3..2a16dbb4 100644 --- a/kernel/syscall.c +++ b/kernel/syscall.c @@ -7066,7 +7066,7 @@ SYSCALL_DECLARE(getcpu) const uintptr_t cpup = ihk_mc_syscall_arg0(ctx); const uintptr_t nodep = ihk_mc_syscall_arg1(ctx); const int cpu = ihk_mc_get_processor_id(); - const int node = 0; + const int node = ihk_mc_get_numa_id(); int error; if (cpup) {