diff --git a/sys/i386/include/cpu.h b/sys/i386/include/cpu.h index 85f36ae069ae..0f2dd7cc91fb 100644 --- a/sys/i386/include/cpu.h +++ b/sys/i386/include/cpu.h @@ -102,7 +102,7 @@ void swi_vm(void *); static __inline u_int64_t get_cyclecount(void) { -#if defined(I386_CPU) || defined(I486_CPU) +#if defined(I386_CPU) || defined(I486_CPU) || defined(KLD_MODULE) struct bintime bt; if (!tsc_present) {