• Stephen Boyd's avatar
    dmar_ir_support() references dmar_tbl which is annotated with · b8882458
    Stephen Boyd authored
    __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: default avatarStephen Boyd <bebarino@gmail.com>
    Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
    Cc: David Woodhouse <David.Woodhouse@intel.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    b8882458
dmar.c 32.8 KB