]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfce7e72bdc9cf80c2e3c2128fe3ac89f80a4e529
tree2849196332e34b47ef91a528e8769ee1e8ae264d
parent8f0c5ab9319453a395d759e09a72584c78b91d1f
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