Message ID | CE59C043D0EC3349B2BF41C0EC72229B12D1EFB03C@shsmsx501.ccr.corp.intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 07/14/2011 10:15 AM, Ren, Yongjie wrote: > Hi Avi, > Thanks for effort. But I found your patch didn't include<linux/module.h>, so I add it in this patch. This will work in our kvm build system. > Export delayacct_on > Needed for sched_info_on(), used by KVM. Thanks, that will teach me to patch without testing. Applied.
diff --git a/kernel/delayacct.c b/kernel/delayacct.c index ead9b61..418b3f7 100644 --- a/kernel/delayacct.c +++ b/kernel/delayacct.c @@ -19,8 +19,10 @@ #include <linux/time.h> #include <linux/sysctl.h> #include <linux/delayacct.h> +#include <linux/module.h> int delayacct_on __read_mostly = 1; /* Delay accounting turned on/off */ +EXPORT_SYMBOL_GPL(delayacct_on); struct kmem_cache *delayacct_cache; static int __init delayacct_setup_disable(char *str)