public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] Use pmd_table() MACRO for unmap_area_sections()
@ 2008-09-03  5:36 Hiroshi DOYU
  2008-09-05 17:21 ` Tony Lindgren
  0 siblings, 1 reply; 9+ messages in thread
From: Hiroshi DOYU @ 2008-09-03  5:36 UTC (permalink / raw)
  To: linux-omap; +Cc: Hiroshi DOYU

Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
---
 arch/arm/mm/ioremap.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mm/ioremap.c b/arch/arm/mm/ioremap.c
index b81dbf9..9ad7614 100644
--- a/arch/arm/mm/ioremap.c
+++ b/arch/arm/mm/ioremap.c
@@ -161,7 +161,7 @@ static void unmap_area_sections(unsigned long virt, unsigned long size)
 			/*
 			 * Free the page table, if there was one.
 			 */
-			if ((pmd_val(pmd) & PMD_TYPE_MASK) == PMD_TYPE_TABLE)
+			if ((pmd_table(pmd))
 				pte_free_kernel(&init_mm, pmd_page_vaddr(pmd));
 		}
 
-- 
1.5.5.1.357.g1af8b


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-09-08 13:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-03  5:36 [PATCH 1/1] Use pmd_table() MACRO for unmap_area_sections() Hiroshi DOYU
2008-09-05 17:21 ` Tony Lindgren
2008-09-05 22:45   ` Russell King - ARM Linux
2008-09-06  0:56     ` Hiroshi DOYU
2008-09-07 19:36       ` Russell King - ARM Linux
2008-09-08  2:04         ` Woodruff, Richard
2008-09-08  6:47           ` Hiroshi DOYU
2008-09-08 13:21             ` Woodruff, Richard
2008-09-08  3:38         ` Hiroshi DOYU

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox