android_kernel_cmhtcleo/drivers/pci/intr_remapping.h

11 lines
240 B
C
Raw Permalink Normal View History

2010-08-27 09:19:57 +00:00
#include <linux/intel-iommu.h>
struct ioapic_scope {
struct intel_iommu *iommu;
unsigned int id;
unsigned int bus; /* PCI bus number */
unsigned int devfn; /* PCI devfn number */
};
#define IR_X2APIC_MODE(mode) (mode ? (1 << 11) : 0)