diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-08-01 10:28:17 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-08-01 10:28:17 -0700 |
commit | 57b1494d2ba544c62673234da6115c21fac27ffc (patch) | |
tree | 34f91f3187805fa034f8e63966d471ba2498d148 /include/asm-x86 | |
parent | 9fe3b64be3dc8313e9fa87255f169c608d074cbd (diff) | |
parent | 8978b74253280d59e97cf49a3ec2c0cbccd5b801 (diff) | |
download | linux-3.10-57b1494d2ba544c62673234da6115c21fac27ffc.tar.gz linux-3.10-57b1494d2ba544c62673234da6115c21fac27ffc.tar.bz2 linux-3.10-57b1494d2ba544c62673234da6115c21fac27ffc.zip |
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:
generic, x86: fix add iommu_num_pages helper function
x86: remove stray <6> in BogoMIPS printk
x86: move dma32_reserve_bootmem() after reserve_crashkernel()
Diffstat (limited to 'include/asm-x86')
-rw-r--r-- | include/asm-x86/iommu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-x86/iommu.h b/include/asm-x86/iommu.h index ecc8061904a..5f888cc5be4 100644 --- a/include/asm-x86/iommu.h +++ b/include/asm-x86/iommu.h @@ -7,6 +7,8 @@ extern struct dma_mapping_ops nommu_dma_ops; extern int force_iommu, no_iommu; extern int iommu_detected; +extern unsigned long iommu_num_pages(unsigned long addr, unsigned long len); + #ifdef CONFIG_GART_IOMMU extern int gart_iommu_aperture; extern int gart_iommu_aperture_allowed; |