Hi Hiroshi,

> -----Original Message-----
> From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap-
> ow...@vger.kernel.org] On Behalf Of Hiroshi DOYU
> Sent: Monday, January 11, 2010 1:47 AM
> To: linux-omap@vger.kernel.org
> Cc: Nagalla, Hari; Hiroshi DOYU
> Subject: [PATCH 2/3] omap iommu: fix incorrect address for large page 1st
> entry
> 
> From: Hiroshi DOYU <hiroshi.d...@nokia.com>

Description missing here aswell.

Regards,
Sergio
> 
> Reported-by: Hari Nagalla <hnaga...@ti.com>
> Signed-off-by: Hiroshi DOYU <hiroshi.d...@nokia.com>
> Signed-off-by: Hari Nagalla <hnaga...@ti.com>
> ---
>  arch/arm/plat-omap/iommu.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/plat-omap/iommu.c b/arch/arm/plat-omap/iommu.c
> index c0ff1e3..ccf25b3 100644
> --- a/arch/arm/plat-omap/iommu.c
> +++ b/arch/arm/plat-omap/iommu.c
> @@ -1,7 +1,7 @@
>  /*
>   * omap iommu: tlb and pagetable primitives
>   *
> - * Copyright (C) 2008-2009 Nokia Corporation
> + * Copyright (C) 2008-2010 Nokia Corporation
>   *
>   * Written by Hiroshi DOYU <hiroshi.d...@nokia.com>,
>   *           Paul Mundt and Toshihiro Kobayashi
> @@ -646,7 +646,7 @@ static size_t iopgtable_clear_entry_core(struct iommu
> *obj, u32 da)
>               if (*iopte & IOPTE_LARGE) {
>                       nent *= 16;
>                       /* rewind to the 1st entry */
> -                     iopte = (u32 *)((u32)iopte & IOLARGE_MASK);
> +                     iopte = iopte_offset(iopgd, (da & IOLARGE_MASK));
>               }
>               bytes *= nent;
>               memset(iopte, 0, nent * sizeof(*iopte));
> --
> 1.6.0.4
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to