omap: iommu: fix wrong condition check for SUPERSECTION
authorHiroshi DOYU <Hiroshi.DOYU@nokia.com>
Thu, 22 Oct 2009 21:46:32 +0000 (14:46 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 22 Oct 2009 21:46:32 +0000 (14:46 -0700)
commitdcc730dc9d7614fdaf6bce73d6e8ffe47c8820b1
tree2849196332e34b47ef91a528e8769ee1e8ae264d
parent9da65a99e5e6a074c586474961dbf560e439df50
omap: iommu: fix wrong condition check for SUPERSECTION

A bit (2 << 0) is set both on SECTION and SUPERSECTION. To identify
SUPERSECTION correctly, other bits should be compared too.

Reported-by: "Srinivas Pulukuru" <srinivas.pulukuru@ti.com>
Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/iommu.c