Message ID | 20090224132351.11674.87661.sendpatchset@rx1.opensource.se (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Paul Mundt |
Headers | show |
--- 0001/arch/sh/mm/ioremap_32.c +++ work/arch/sh/mm/ioremap_32.c 2009-02-24 20:58:38.000000000 +0900 @@ -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