|
@@ -506,7 +506,7 @@ int appldata_register_ops(struct appldata_ops *ops)
|
|
|
|
|
|
ops->ctl_table[3].ctl_name = 0;
|
|
ops->ctl_table[3].ctl_name = 0;
|
|
|
|
|
|
- ops->sysctl_header = register_sysctl_table(ops->ctl_table,1);
|
|
|
|
|
|
+ ops->sysctl_header = register_sysctl_table(ops->ctl_table,0);
|
|
|
|
|
|
P_INFO("%s-ops registered!\n", ops->name);
|
|
P_INFO("%s-ops registered!\n", ops->name);
|
|
return 0;
|
|
return 0;
|
|
@@ -606,7 +606,7 @@ static int __init appldata_init(void)
|
|
/* Register cpu hotplug notifier */
|
|
/* Register cpu hotplug notifier */
|
|
register_hotcpu_notifier(&appldata_nb);
|
|
register_hotcpu_notifier(&appldata_nb);
|
|
|
|
|
|
- appldata_sysctl_header = register_sysctl_table(appldata_dir_table, 1);
|
|
|
|
|
|
+ appldata_sysctl_header = register_sysctl_table(appldata_dir_table, 0);
|
|
#ifdef MODULE
|
|
#ifdef MODULE
|
|
appldata_dir_table[0].de->owner = THIS_MODULE;
|
|
appldata_dir_table[0].de->owner = THIS_MODULE;
|
|
appldata_table[0].de->owner = THIS_MODULE;
|
|
appldata_table[0].de->owner = THIS_MODULE;
|