]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
pvpanic: move pvpanic to misc as common driver
authorPeng Hao <peng.hao2@zte.com.cn>
Tue, 6 Nov 2018 14:57:12 +0000 (22:57 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Nov 2018 12:53:03 +0000 (13:53 +0100)
Move pvpanic.c from drivers/platform/x86 to drivers/misc.
Following patches will use pvpanic device in arm64.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Peng Hao <peng.hao2@zte.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/Kconfig
drivers/misc/Makefile
drivers/misc/pvpanic.c [moved from drivers/platform/x86/pvpanic.c with 100% similarity]
drivers/platform/x86/Kconfig
drivers/platform/x86/Makefile

index 3726eacdf65de2470ba83c6a91dc3351f69ea713..64c898aec3b25310fb37a802b7234b7ba6ec7964 100644 (file)
@@ -513,6 +513,14 @@ config MISC_RTSX
        tristate
        default MISC_RTSX_PCI || MISC_RTSX_USB
 
+config PVPANIC
+       tristate "pvpanic device support"
+       depends on ACPI
+       help
+         This driver provides support for the pvpanic device.  pvpanic is
+         a paravirtualized device provided by QEMU; it lets a virtual machine
+         (guest) communicate panic events to the host.
+
 source "drivers/misc/c2port/Kconfig"
 source "drivers/misc/eeprom/Kconfig"
 source "drivers/misc/cb710/Kconfig"
index af22bbc3d00cbcd248c4e10247b87bbb46ecab3f..b76d611c87de12dbcc6d27e802b45a41c5df6f00 100644 (file)
@@ -58,3 +58,4 @@ obj-$(CONFIG_ASPEED_LPC_SNOOP)        += aspeed-lpc-snoop.o
 obj-$(CONFIG_PCI_ENDPOINT_TEST)        += pci_endpoint_test.o
 obj-$(CONFIG_OCXL)             += ocxl/
 obj-$(CONFIG_MISC_RTSX)                += cardreader/
+obj-$(CONFIG_PVPANIC)          += pvpanic.o
index 54f6a40c75c69c667ac3d4591dde89fd99bac3be..5d5ee4fa1e6e9983077a4684e7ca25bbf11fdefd 100644 (file)
@@ -1168,14 +1168,6 @@ config INTEL_SMARTCONNECT
          This driver checks to determine whether the device has Intel Smart
          Connect enabled, and if so disables it.
 
-config PVPANIC
-       tristate "pvpanic device support"
-       depends on ACPI
-       ---help---
-         This driver provides support for the pvpanic device.  pvpanic is
-         a paravirtualized device provided by QEMU; it lets a virtual machine
-         (guest) communicate panic events to the host.
-
 config INTEL_PMC_IPC
        tristate "Intel PMC IPC Driver"
        depends on ACPI
index 39ae94135406b69bb7cef9bcb8d24242382afe35..d537d1753147973e2c3ae27cadf67d72aca37cd8 100644 (file)
@@ -78,7 +78,6 @@ obj-$(CONFIG_APPLE_GMUX)      += apple-gmux.o
 obj-$(CONFIG_INTEL_RST)                += intel-rst.o
 obj-$(CONFIG_INTEL_SMARTCONNECT)       += intel-smartconnect.o
 
-obj-$(CONFIG_PVPANIC)           += pvpanic.o
 obj-$(CONFIG_ALIENWARE_WMI)    += alienware-wmi.o
 obj-$(CONFIG_INTEL_PMC_IPC)    += intel_pmc_ipc.o
 obj-$(CONFIG_TOUCHSCREEN_DMI)  += touchscreen_dmi.o