|
@@ -21,6 +21,8 @@
|
|
#include <linux/of.h>
|
|
#include <linux/of.h>
|
|
#include <linux/of_irq.h>
|
|
#include <linux/of_irq.h>
|
|
#include <linux/of_address.h>
|
|
#include <linux/of_address.h>
|
|
|
|
+#include <linux/cpuidle.h>
|
|
|
|
+#include <linux/cpufreq.h>
|
|
|
|
|
|
#include <linux/mm.h>
|
|
#include <linux/mm.h>
|
|
|
|
|
|
@@ -266,6 +268,13 @@ static int __init xen_guest_init(void)
|
|
if (!xen_initial_domain())
|
|
if (!xen_initial_domain())
|
|
xenbus_probe(NULL);
|
|
xenbus_probe(NULL);
|
|
|
|
|
|
|
|
+ /*
|
|
|
|
+ * Making sure board specific code will not set up ops for
|
|
|
|
+ * cpu idle and cpu freq.
|
|
|
|
+ */
|
|
|
|
+ disable_cpuidle();
|
|
|
|
+ disable_cpufreq();
|
|
|
|
+
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
core_initcall(xen_guest_init);
|
|
core_initcall(xen_guest_init);
|