mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 08:31:13 +00:00
kobject: Make support for uevent_helper optional.
Support for uevent_helper, aka hotplug, is not required on many systems these days but it can still be enabled via sysfs or sysctl. Reported-by: Darren Shepherd <darren.s.shepherd@gmail.com> Signed-off-by: Michael Marineau <mike@marineau.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d911d98748
commit
86d56134f1
5 changed files with 25 additions and 9 deletions
|
@ -643,7 +643,7 @@ static struct ctl_table kern_table[] = {
|
|||
.extra2 = &one,
|
||||
},
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_UEVENT_HELPER
|
||||
{
|
||||
.procname = "hotplug",
|
||||
.data = &uevent_helper,
|
||||
|
@ -651,7 +651,7 @@ static struct ctl_table kern_table[] = {
|
|||
.mode = 0644,
|
||||
.proc_handler = proc_dostring,
|
||||
},
|
||||
|
||||
#endif
|
||||
#ifdef CONFIG_CHR_DEV_SG
|
||||
{
|
||||
.procname = "sg-big-buff",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue