• Stephen Boyd's avatar
    dmar_ir_support() references dmar_tbl which is annotated with · c38a8607
    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>
    c38a8607
dmar.c 33.6 KB