• Ingo Molnar's avatar
    x86: Add iommu_init to x86_init_ops, fix build · b4941a9a
    Ingo Molnar authored
    Most of the time x86_init.h is included in pci-dma.c - but not always,
    leading to this rare build failure:
    
    arch/x86/kernel/pci-dma.c:296: error: 'x86_init' undeclared (first use in this function)
    
    So include asm/x86_init.h explicitly.
    
    Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
    Cc: chrisw@sous-sol.org
    Cc: dwmw2@infradead.org
    Cc: joerg.roedel@amd.com
    Cc: muli@il.ibm.com
    LKML-Reference: <1257849980-22640-2-git-send-email-fujita.tomonori@lab.ntt.co.jp>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    b4941a9a
pci-dma.c 7.38 KB