Gitweb: http://git.kernel.org/linus/3e91faec47e9e12b965c952d698b0bb64847af06 Commit: 3e91faec47e9e12b965c952d698b0bb64847af06 Parent: 5e084a1586a864d4e9b3f2edbb1bd3429909d652 Author: Magnus Damm <damm@igel.co.jp> AuthorDate: Tue Feb 24 22:23:51 2009 +0900 Committer: Paul Mundt <lethal@linux-sh.org> CommitDate: Fri Feb 27 16:50:00 2009 +0900 sh: fix P4 iounmap() pass-through Fix iounmap() of pass-through P4 addresses. Without this patch iounmap() on the sh7780 rtc area results in a warning message. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org> --- arch/sh/mm/ioremap_32.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/sh/mm/ioremap_32.c b/arch/sh/mm/ioremap_32.c index 32946fb..8dc7702 100644 --- a/arch/sh/mm/ioremap_32.c +++ b/arch/sh/mm/ioremap_32.c @@ -119,7 +119,7 @@ void __iounmap(void __iomem *addr) unsigned long seg = PXSEG(vaddr); struct vm_struct *p; - if (seg < P3SEG || seg >= P3_ADDR_MAX || is_pci_memaddr(vaddr)) + if (seg < P3SEG || vaddr >= P3_ADDR_MAX || is_pci_memaddr(vaddr)) return; #ifdef CONFIG_32BIT -- To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
