git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] kernel/params.c: fix sysfs access with CONFIG_MODULES=n
[sfrench/cifs-2.6.git]
/
kernel
/
params.c
diff --git
a/kernel/params.c
b/kernel/params.c
index 47ba69547945a7ffcec55a7fc72f8ae35a9c4c77..c76ad25e6a214df9d534f5142da9f2a1a1729b52 100644
(file)
--- a/
kernel/params.c
+++ b/
kernel/params.c
@@
-619,7
+619,7
@@
static void __init param_sysfs_builtin(void)
/* module-related sysfs stuff */
-#ifdef CONFIG_
MODULE
S
+#ifdef CONFIG_
SYSF
S
#define to_module_attr(n) container_of(n, struct module_attribute, attr);
#define to_module_kobject(n) container_of(n, struct module_kobject, kobj);