Red Hat Bugzilla – Bug 676346
drivers/xen/events.c clean up section mismatch warning
Last modified: 2015-02-08 16:36:24 EST
A recent backport (commit f3da3a2a5856b55520e93edb1c5452d555cb4b4b) introduced compiler warnings for section mismatches WARNING: drivers/xen/built-in.o(.data+0x0): Section mismatch in reference from the variable cpu_evtchn_mask_p to the variable .init.data:init_evtchn_mask The variable cpu_evtchn_mask_p references the variable __initdata init_evtchn_mask If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console, The fix is described in the warning, annotate the variable with __refdata
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
Patch(es) available on kernel-2.6.32-117.el6
Section mismatch warning reproduced in the kernel-2.6.32-113.el6.src.rpm.By testing,the bug has gone in kernel-2.6.32-117.el6.src.rpm,so this bug fix is verified.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2011-0542.html