sparc/iommu: fix typo s/265KB/256KB/
PATCH 1/1 sparc/iommu: fix typo s/265KB/256KB/
IOMMU_NPTES is 64K PTEs, so the size is 256KB (= 64K * sizeof(iopte_t))
Signed-off-by Akinobu Mita <[email protected]>
Cc "David S. Miller" <[email protected]>
---
This patch is extracted a comment typo fix from the patch I send:
"sparc/iommu: use BITS_TO_LONGS() to calculate bitmap size"
arch/sparc/mm/iommu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/sparc/mm/iommu.c +1 -1
@@ -34,7 +34,7 @@#define IOMMU_RNGE IOMMU_RNGE_256MB#define IOMMU_START 0xF0000000#define IOMMU_WINSIZE (256*1024*1024U) -#define IOMMU_NPTES (IOMMU_WINSIZE/PAGE_SIZE)/* 64K PTEs, 265KB */ +#define IOMMU_NPTES (IOMMU_WINSIZE/PAGE_SIZE)/* 64K PTEs, 256KB */ #define IOMMU_ORDER 6/* 4096 * (1<<6) */ /* srmmu.c */
Signature · 1 line
1.8.1.4
From: Akinobu Mita <[email protected]>
Date: Fri, 29 Mar 2013 22:44:44 +0900
Quoted 3 lines
IOMMU_NPTESis 64K PTEs, so the size is 256KB (= 64K *sizeof(iopte_t))Signed-off-by Akinobu Mita <[email protected]>
Applied.