• K
    xen/acpi: Fix Kconfig dependency on CPU_FREQ · df7a3ee2
    Konrad Rzeszutek Wilk 提交于
    The functions: "acpi_processor_*" sound like they depend on CONFIG_ACPI_PROCESSOR
    but in reality they are exposed when CONFIG_CPU_FREQ=[y|m]. As such
    update the Kconfig to have this dependency and fix compile issues:
    
    ERROR: "acpi_processor_unregister_performance" [drivers/xen/xen-acpi-processor.ko] undefined!
    ERROR: "acpi_processor_notify_smm" [drivers/xen/xen-acpi-processor.ko] undefined!
    ERROR: "acpi_processor_register_performance" [drivers/xen/xen-acpi-processor.ko] undefined!
    ERROR: "acpi_processor_preregister_performance" [drivers/xen/xen-acpi-processor.ko] undefined!
    
    Note: We still need the CONFIG_ACPI
    Reported-by: NRandy Dunlap <rdunlap@xenotime.net>
    Signed-off-by: NKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
    df7a3ee2
Kconfig 6.8 KB