]> git.baikalelectronics.ru Git - kernel.git/commit
xen: resolve section mismatch warnings in xen-acpi-processor
authorBen Guthro <benjamin.guthro@citrix.com>
Thu, 18 Apr 2013 21:39:48 +0000 (17:39 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 19 Apr 2013 14:44:23 +0000 (10:44 -0400)
commitac7c2cc5a0007cf89677ce078fe31ac9c78d6795
treeaf55ec68f1a623332c4187e6e6e227e343aeda2b
parent403f2b2ac7ea3b05c5bee0e72926d862a7fc2c37
xen: resolve section mismatch warnings in xen-acpi-processor

The following resolves a section mismatch warning below in xen-acpi-processor introduced by
403f2b2ac7ea3b05c5bee0e72926d862a7fc2c37 [13/13] xen: Re-upload processor PM data to hypervisor after S3 resume (v2)

Warning:
WARNING: drivers/xen/built-in.o(.text+0x2056a): Section mismatch in reference from the function xen_upload_processor_pm_data() to the function .init.text:read_acpi_id()
   The function xen_upload_processor_pm_data() references
   the function __init read_acpi_id().
   This is often because xen_upload_processor_pm_data lacks a __init
   annotation or the annotation of read_acpi_id is wrong.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Ben Guthro <benjamin.guthro@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/xen-acpi-processor.c