dmar_ir_support() references dmar_tbl which is annotated with
__initdata. The only caller of dmar_ir_support() is intr_remapping_supported() also annotated with __init. WARNING: drivers/pci/built-in.o(.text+0xa110): Section mismatch in reference from the function dmar_ir_support() to the variable .init.data:dmar_tbl The function dmar_ir_support() references the variable __initdata dmar_tbl. This is often because dmar_ir_support lacks a __initdata annotation or the annotation of dmar_tbl is wrong. Signed-off-by: Stephen Boyd <bebarino@gmail.com> Cc: Jesse Barnes <jbarnes@virtuousgeek.org> Cc: David Woodhouse <David.Woodhouse@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Showing
Please register or sign in to comment