summaryrefslogtreecommitdiffstats
path: root/sys/i386/cpufreq
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/cpufreq')
-rw-r--r--sys/i386/cpufreq/est.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/i386/cpufreq/est.c b/sys/i386/cpufreq/est.c
index 1ae10ff..d40fa4a 100644
--- a/sys/i386/cpufreq/est.c
+++ b/sys/i386/cpufreq/est.c
@@ -593,6 +593,9 @@ est_probe(device_t dev)
device_t perf_dev;
uint64_t msr;
int error, type;
+
+ if (resource_disabled("est", 0))
+ return (ENXIO);
/*
* If the ACPI perf driver has attached and is not just offering
OpenPOWER on IntegriCloud