omap iommu: fix incorrect address for largepage 1st entry
authorHiroshi DOYU <Hiroshi.DOYU@nokia.com>
Mon, 15 Feb 2010 18:03:32 +0000 (10:03 -0800)
committerTony Lindgren <tony@atomide.com>
Mon, 15 Feb 2010 18:03:32 +0000 (10:03 -0800)
commitc127c7dc1abb7f02dcfbbea173e7abb4f2d4585e
tree0d50ffccf7c1c5f1e4d15a0785c2670565dca78e
parent8d33ea5881bce56f85de7fcc90e1c5618fa5b62d
omap iommu: fix incorrect address for largepage 1st entry

There was a potential risk that the following "memset" could override
its range if a given address was not the 1st entry of a
largepage. This is not the case for "iovmm".

Reported-by: Hari Nagalla <hnagalla@ti.com>
Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Signed-off-by: Hari Nagalla <hnagalla@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/iommu.c