netbsd: Remove conditional compilation of CPU frequency variables

This commit is contained in:
nia 2021-07-14 21:32:07 +02:00 committed by BenBE
parent b4884373e5
commit 72cea2881c
1 changed files with 2 additions and 8 deletions

View File

@ -40,16 +40,10 @@ static int pageSize;
static int pageSizeKB; static int pageSizeKB;
static char const *freqSysctls[] = { static char const *freqSysctls[] = {
#if defined(__powerpc__)
"machdep.intrepid.frequency.current",
#endif
#if defined(__mips__)
"machdep.loongson.frequency.current",
#endif
#if defined(__i386__) || defined(__x86_64__)
"machdep.est.frequency.current", "machdep.est.frequency.current",
"machdep.powernow.frequency.current", "machdep.powernow.frequency.current",
#endif "machdep.intrepid.frequency.current",
"machdep.loongson.frequency.current",
"machdep.cpu.frequency.current", "machdep.cpu.frequency.current",
"machdep.frequency.current", "machdep.frequency.current",
NULL NULL