diff options
| author | Wim Van Sebroeck <wim@iguana.be> | 2007-05-11 19:03:13 +0000 | 
|---|---|---|
| committer | Wim Van Sebroeck <wim@iguana.be> | 2007-05-11 19:03:13 +0000 | 
| commit | 5c34202b8bf942da411b6599668a76b07449bbfd (patch) | |
| tree | 5719c361321eaddc8e4f1b0c8a7994f0e9a6fdd3 /kernel/params.c | |
| parent | 0d4804b31f91cfbcff6d62af0bc09a893a1c8ae0 (diff) | |
| parent | 1f8a6b658a943b4f04a1fc7b3a420360202c86cd (diff) | |
Merge /pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'kernel/params.c')
| -rw-r--r-- | kernel/params.c | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/params.c b/kernel/params.c index 1fc4ac746cd..e61c46c97ce 100644 --- a/kernel/params.c +++ b/kernel/params.c @@ -269,7 +269,7 @@ int param_get_invbool(char *buffer, struct kernel_param *kp)  	return param_get_bool(buffer, &dummy);  } -/* We cheat here and temporarily mangle the string. */ +/* We break the rule and mangle the string. */  static int param_array(const char *name,  		       const char *val,  		       unsigned int min, unsigned int max, @@ -691,6 +691,7 @@ static struct kset_uevent_ops module_uevent_ops = {  };  decl_subsys(module, &module_ktype, &module_uevent_ops); +int module_sysfs_initialized;  static struct kobj_type module_ktype = {  	.sysfs_ops =	&module_sysfs_ops, @@ -709,6 +710,7 @@ static int __init param_sysfs_init(void)  			__FILE__, __LINE__, ret);  		return ret;  	} +	module_sysfs_initialized = 1;  	param_sysfs_builtin();  | 
