• Z
    ACPI: introduce drivers/acpi/debugfs.c · a25ee920
    Zhang Rui 提交于
    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: NZhang Rui <rui.zhang@intel.com>
    Signed-off-by: NLen Brown <len.brown@intel.com>
    a25ee920
internal.h 2.5 KB