Signed-off-by: Andrea Gelmini <[email protected]>
---
 arch/powerpc/platforms/cell/iommu.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/platforms/cell/iommu.c 
b/arch/powerpc/platforms/cell/iommu.c
index 14a582b..9027d7c 100644
--- a/arch/powerpc/platforms/cell/iommu.c
+++ b/arch/powerpc/platforms/cell/iommu.c
@@ -178,7 +178,7 @@ static int tce_build_cell(struct iommu_table *tbl, long 
index, long npages,
         * default for now.*/
 #ifdef CELL_IOMMU_STRICT_PROTECTION
        /* to avoid referencing a global, we use a trick here to setup the
-        * protection bit. "prot" is setup to be 3 fields of 4 bits apprended
+        * protection bit. "prot" is setup to be 3 fields of 4 bits appended
         * together for each of the 3 supported direction values. It is then
         * shifted left so that the fields matching the desired direction
         * lands on the appropriate bits, and other bits are masked out.
@@ -338,7 +338,7 @@ static unsigned long *cell_iommu_alloc_ptab(struct 
cbe_iommu *iommu,
        start_seg = base >> IO_SEGMENT_SHIFT;
        segments  = size >> IO_SEGMENT_SHIFT;
        pages_per_segment = 1ull << IO_PAGENO_BITS(page_shift);
-       /* PTEs for each segment must start on a 4K bounday */
+       /* PTEs for each segment must start on a 4K boundary */
        pages_per_segment = max(pages_per_segment,
                                (1 << 12) / sizeof(unsigned long));
 
-- 
2.8.2.534.g1f66975

_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to