diff --git a/src/system/kernel/arch/x86/arch_cpu.cpp b/src/system/kernel/arch/x86/arch_cpu.cpp index 10c94f6de2..9fe0d79075 100644 --- a/src/system/kernel/arch/x86/arch_cpu.cpp +++ b/src/system/kernel/arch/x86/arch_cpu.cpp @@ -1026,11 +1026,13 @@ arch_cpu_shutdown(bool rebootSystem) if (acpi_shutdown(rebootSystem) == B_OK) return B_OK; - // TODO x86_64 -#ifndef __x86_64 - if (!rebootSystem) + if (!rebootSystem) { +#ifndef __x86_64__ return apm_shutdown(); +#else + return B_NOT_SUPPORTED; #endif + } cpu_status state = disable_interrupts();