ACPI: introduce drivers/acpi/debugfs.c
authorZhang Rui <rui.zhang@intel.com>
Thu, 15 Jul 2010 02:46:15 +0000 (10:46 +0800)
committerLen Brown <len.brown@intel.com>
Sun, 15 Aug 2010 03:02:00 +0000 (23:02 -0400)
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>

No differences found