mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-23 22:55:46 +00:00
netbsd: Remove conditional compilation of CPU frequency variables
This commit is contained in:
parent
b4884373e5
commit
72cea2881c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user