From 72cea2881c68c954f61dae4cd2a1935c4268434d Mon Sep 17 00:00:00 2001 From: nia Date: Wed, 14 Jul 2021 21:32:07 +0200 Subject: [PATCH] netbsd: Remove conditional compilation of CPU frequency variables --- netbsd/NetBSDProcessList.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/netbsd/NetBSDProcessList.c b/netbsd/NetBSDProcessList.c index 3e85f85d..f215e622 100644 --- a/netbsd/NetBSDProcessList.c +++ b/netbsd/NetBSDProcessList.c @@ -40,16 +40,10 @@ static int pageSize; static int pageSizeKB; 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.powernow.frequency.current", -#endif + "machdep.intrepid.frequency.current", + "machdep.loongson.frequency.current", "machdep.cpu.frequency.current", "machdep.frequency.current", NULL