From 2fc7654a7edf5e52293a9890a8a7d9831ca225c1 Mon Sep 17 00:00:00 2001 From: Hiroshi DOYU Date: Thu, 22 Oct 2009 14:46:32 -0700 Subject: [PATCH] --- yaml --- r: 167838 b: refs/heads/master c: dcc730dc9d7614fdaf6bce73d6e8ffe47c8820b1 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/arm/plat-omap/iommu.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index eafa9593ae20..641afa72c709 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 9da65a99e5e6a074c586474961dbf560e439df50 +refs/heads/master: dcc730dc9d7614fdaf6bce73d6e8ffe47c8820b1 diff --git a/trunk/arch/arm/plat-omap/iommu.c b/trunk/arch/arm/plat-omap/iommu.c index 4b6012707307..94584f167a82 100644 --- a/trunk/arch/arm/plat-omap/iommu.c +++ b/trunk/arch/arm/plat-omap/iommu.c @@ -664,7 +664,7 @@ static size_t iopgtable_clear_entry_core(struct iommu *obj, u32 da) nent = 1; /* for the next L1 entry */ } else { bytes = IOPGD_SIZE; - if (*iopgd & IOPGD_SUPER) { + if ((*iopgd & IOPGD_SUPER) == IOPGD_SUPER) { nent *= 16; /* rewind to the 1st entry */ iopgd = (u32 *)((u32)iopgd & IOSUPER_MASK);