vkernel64 - Fix build
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 29 Aug 2018 17:11:34 +0000 (10:11 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 29 Aug 2018 17:11:34 +0000 (10:11 -0700)
* Add missing CPUID_TO_APICID() macro which vm_page.c now needs.

Reminded-by: swildner
sys/platform/vkernel64/include/smp.h

index 5fa2a34..d19cbc4 100644 (file)
@@ -45,6 +45,7 @@ int get_logical_CPU_number_within_core(int cpuid);
 /* Assume that APICID = CPUID for virtual processors */
 #define get_cpuid_from_apicid(apicid) apicid
 #define get_apicid_from_cpuid(cpuid) cpuid
+#define CPUID_TO_APICID(cpuid) get_apicid_from_cpuid(cpuid)
 
 #endif /* !LOCORE */