|
@@ -1764,7 +1764,7 @@ static int vmstat_cpu_dead(unsigned int cpu)
|
|
|
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
-static int __init setup_vmstat(void)
|
|
|
|
|
|
+void __init init_mm_internals(void)
|
|
{
|
|
{
|
|
#ifdef CONFIG_SMP
|
|
#ifdef CONFIG_SMP
|
|
int ret;
|
|
int ret;
|
|
@@ -1792,9 +1792,7 @@ static int __init setup_vmstat(void)
|
|
proc_create("vmstat", S_IRUGO, NULL, &proc_vmstat_file_operations);
|
|
proc_create("vmstat", S_IRUGO, NULL, &proc_vmstat_file_operations);
|
|
proc_create("zoneinfo", S_IRUGO, NULL, &proc_zoneinfo_file_operations);
|
|
proc_create("zoneinfo", S_IRUGO, NULL, &proc_zoneinfo_file_operations);
|
|
#endif
|
|
#endif
|
|
- return 0;
|
|
|
|
}
|
|
}
|
|
-module_init(setup_vmstat)
|
|
|
|
|
|
|
|
#if defined(CONFIG_DEBUG_FS) && defined(CONFIG_COMPACTION)
|
|
#if defined(CONFIG_DEBUG_FS) && defined(CONFIG_COMPACTION)
|
|
|
|
|