|
@@ -70,16 +70,19 @@ MODULE_AUTHOR("Qumranet");
|
|
|
MODULE_LICENSE("GPL");
|
|
|
|
|
|
/* Architectures should define their poll value according to the halt latency */
|
|
|
-static unsigned int halt_poll_ns = KVM_HALT_POLL_NS_DEFAULT;
|
|
|
+unsigned int halt_poll_ns = KVM_HALT_POLL_NS_DEFAULT;
|
|
|
module_param(halt_poll_ns, uint, S_IRUGO | S_IWUSR);
|
|
|
+EXPORT_SYMBOL_GPL(halt_poll_ns);
|
|
|
|
|
|
/* Default doubles per-vcpu halt_poll_ns. */
|
|
|
-static unsigned int halt_poll_ns_grow = 2;
|
|
|
+unsigned int halt_poll_ns_grow = 2;
|
|
|
module_param(halt_poll_ns_grow, uint, S_IRUGO | S_IWUSR);
|
|
|
+EXPORT_SYMBOL_GPL(halt_poll_ns_grow);
|
|
|
|
|
|
/* Default resets per-vcpu halt_poll_ns . */
|
|
|
-static unsigned int halt_poll_ns_shrink;
|
|
|
+unsigned int halt_poll_ns_shrink;
|
|
|
module_param(halt_poll_ns_shrink, uint, S_IRUGO | S_IWUSR);
|
|
|
+EXPORT_SYMBOL_GPL(halt_poll_ns_shrink);
|
|
|
|
|
|
/*
|
|
|
* Ordering of locks:
|