#define pr_fmt(fmt) …
#include <linux/cpumask.h>
#include <linux/cpufreq.h>
#include <linux/freezer.h>
#include <linux/kernel.h>
#include <linux/kthread.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/syscore_ops.h>
#include <linux/acpi.h>
#include <acpi/processor.h>
#include <xen/xen.h>
#include <xen/interface/platform.h>
#include <asm/xen/hypercall.h>
static int no_hypercall;
MODULE_PARM_DESC(…) …;
module_param_named(off, no_hypercall, int, 0400);
static unsigned int nr_acpi_bits;
static DEFINE_MUTEX(acpi_ids_mutex);
static unsigned long *acpi_ids_done;
static unsigned long *acpi_id_present;
static unsigned long *acpi_id_cst_present;
static struct acpi_psd_package *acpi_psd;
static int push_cxx_to_hypervisor(struct acpi_processor *_pr)
{ … }
static struct xen_processor_px *
xen_copy_pss_data(struct acpi_processor *_pr,
struct xen_processor_performance *dst_perf)
{ … }
static int xen_copy_psd_data(struct acpi_processor *_pr,
struct xen_processor_performance *dst)
{ … }
static int xen_copy_pct_data(struct acpi_pct_register *pct,
struct xen_pct_register *dst_pct)
{ … }
static int push_pxx_to_hypervisor(struct acpi_processor *_pr)
{ … }
static int upload_pm_data(struct acpi_processor *_pr)
{ … }
static unsigned int __init get_max_acpi_id(void)
{ … }
static acpi_status
read_acpi_id(acpi_handle handle, u32 lvl, void *context, void **rv)
{ … }
static int check_acpi_ids(struct acpi_processor *pr_backup)
{ … }
static struct acpi_processor_performance __percpu *acpi_perf_data;
static void free_acpi_perf_data(void)
{ … }
static int xen_upload_processor_pm_data(void)
{ … }
static void xen_acpi_processor_resume_worker(struct work_struct *dummy)
{ … }
static void xen_acpi_processor_resume(void)
{ … }
static struct syscore_ops xap_syscore_ops = …;
static int __init xen_acpi_processor_init(void)
{ … }
static void __exit xen_acpi_processor_exit(void)
{ … }
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
device_initcall(xen_acpi_processor_init);
module_exit(xen_acpi_processor_exit);