[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] xen: resolve section mismatch warnings



---
 drivers/xen/xen-acpi-processor.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/xen/xen-acpi-processor.c b/drivers/xen/xen-acpi-processor.c
index 86b6f69..285e3d5 100644
--- a/drivers/xen/xen-acpi-processor.c
+++ b/drivers/xen/xen-acpi-processor.c
@@ -470,7 +470,7 @@ static void free_acpi_perf_data(void)
        free_percpu(acpi_perf_data);
 }
 
-static int xen_upload_processor_pm_data(void)
+static int __init xen_upload_processor_pm_data(void)
 {
        struct acpi_processor *pr_backup = NULL;
        unsigned int i;
@@ -498,7 +498,7 @@ static int xen_upload_processor_pm_data(void)
        return rc;
 }
 
-static void xen_acpi_processor_resume(void)
+static void __init xen_acpi_processor_resume(void)
 {
        bitmap_zero(acpi_ids_done, nr_acpi_bits);
        xen_upload_processor_pm_data();
-- 
1.7.9.5


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.