ACPI: introduce drivers/acpi/debugfs.c
Introduce drivers/acpi/debugfs.c. Code for ACPI debugfs I/F, i.e. /sys/kernel/debug/acpi/custom_method, is moved to this file. And make ACPI debugfs always built in, even if CONFIG_ACPI_DEBUG is cleared. BTW:this adds about 400bytes code to ACPI, when CONFIG_ACPI_DEBUG is cleared. [uaccess.h build fix from Andrew Morton <akpm@linux-foundation.org>] Signed-off-by:Zhang Rui <rui.zhang@intel.com> Signed-off-by:
Len Brown <len.brown@intel.com>
Showing
- drivers/acpi/Makefile 1 addition, 0 deletionsdrivers/acpi/Makefile
- drivers/acpi/bus.c 1 addition, 0 deletionsdrivers/acpi/bus.c
- drivers/acpi/debug.c 0 additions, 75 deletionsdrivers/acpi/debug.c
- drivers/acpi/debugfs.c 85 additions, 0 deletionsdrivers/acpi/debugfs.c
- drivers/acpi/internal.h 6 additions, 0 deletionsdrivers/acpi/internal.h
Loading
Please register or sign in to comment