linux/drivers/acpi
Denis V. Lunev cf7acfab03 acpi: use non-racy method for proc entries creation
Use proc_create()/proc_create_data() to make sure that ->proc_fops and ->data
be setup before gluing PDE to main tree.

Add correct ->owner to proc_fops to fix reading/module unloading race.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Cc: Len Brown <lenb@kernel.org>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-29 08:06:22 -07:00
..
dispatcher
events
executer
hardware
namespace
parser
resources
sleep acpi: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
tables
utilities
ac.c acpi: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
acpi_memhotplug.c
asus_acpi.c
battery.c acpi: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
bay.c
blacklist.c
bus.c
button.c acpi: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
cm_sbs.c
container.c
debug.c
dock.c
ec.c acpi: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
event.c acpi: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
fan.c acpi: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
glue.c
Kconfig
Makefile
numa.c
osl.c
pci_bind.c
pci_irq.c
pci_link.c
pci_root.c
power.c acpi: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
processor_core.c acpi: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
processor_idle.c acpi: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
processor_perflib.c acpi: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
processor_thermal.c acpi: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
processor_throttling.c acpi: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
sbs.c acpi: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
sbshc.c
sbshc.h
scan.c
system.c acpi: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
tables.c
thermal.c acpi: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
toshiba_acpi.c
utils.c
video.c acpi: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
wmi.c