diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-09-27 12:22:21 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-09-27 12:22:21 -0700 |
| commit | 6a6aa2b7e47c725b5256ff0f7462fe1247cabf5a (patch) | |
| tree | dcd8e549193e7aedcdcfb34c13177eceda5b29f4 /arch/x86/include/asm/amd_iommu_proto.h | |
| parent | f0619343ce782a731f55b8ba06d9a7e7d28a0fb8 (diff) | |
| parent | 7329cf0201f48695862e334828a108aa7175e955 (diff) | |
Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
x86/amd-iommu: Fix rounding-bug in __unmap_single
x86/amd-iommu: Work around S3 BIOS bug
x86/amd-iommu: Set iommu configuration flags in enable-loop
x86, setup: Fix earlyprintk=serial,0x3f8,115200
x86, setup: Fix earlyprintk=serial,ttyS0,115200
Diffstat (limited to 'arch/x86/include/asm/amd_iommu_proto.h')
| -rw-r--r-- | arch/x86/include/asm/amd_iommu_proto.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86/include/asm/amd_iommu_proto.h b/arch/x86/include/asm/amd_iommu_proto.h index d2544f1d705..cb030374b90 100644 --- a/arch/x86/include/asm/amd_iommu_proto.h +++ b/arch/x86/include/asm/amd_iommu_proto.h @@ -38,4 +38,10 @@ static inline void amd_iommu_stats_init(void) { } #endif /* !CONFIG_AMD_IOMMU_STATS */ +static inline bool is_rd890_iommu(struct pci_dev *pdev) +{ + return (pdev->vendor == PCI_VENDOR_ID_ATI) && + (pdev->device == PCI_DEVICE_ID_RD890_IOMMU); +} + #endif /* _ASM_X86_AMD_IOMMU_PROTO_H */ |
