[PATCH] x86_64: Fix incorrect node_present_pages on NUMA
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / kernel / params.c
index 47ba69547945a7ffcec55a7fc72f8ae35a9c4c77..c76ad25e6a214df9d534f5142da9f2a1a1729b52 100644 (file)
@@ -619,7 +619,7 @@ static void __init param_sysfs_builtin(void)
 
 
 /* module-related sysfs stuff */
-#ifdef CONFIG_MODULES
+#ifdef CONFIG_SYSFS
 
 #define to_module_attr(n) container_of(n, struct module_attribute, attr);
 #define to_module_kobject(n) container_of(n, struct module_kobject, kobj);