ACPI / debugger: Add module support for ACPI debugger
authorLv Zheng <lv.zheng@intel.com>
Thu, 3 Dec 2015 02:43:14 +0000 (10:43 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 14 Dec 2015 23:17:44 +0000 (00:17 +0100)
commit836d0830188a97d5c73e8eb514f346a857c086b9
treec2eb9b87cdf6a5096e8d3bf2d1418717b2023a10
parent37645d6590a49d3009eecdf093599795da2b5b41
ACPI / debugger: Add module support for ACPI debugger

This patch converts AML debugger into a loadable module.

Note that, it implements driver unloading at the level dependent on the
module reference count. Which means if ACPI debugger is being used by a
userspace program, "rmmod acpi_dbg" should result in failure.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/Kconfig
drivers/acpi/Makefile
drivers/acpi/acpi_dbg.c
drivers/acpi/bus.c
drivers/acpi/osl.c
include/linux/acpi.h
include/linux/acpi_dbg.h [deleted file]