mirror of https://github.com/xzeldon/htop.git
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 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
|
||||||
|
|
Loading…
Reference in New Issue