The patch titled m68k: fix __iounmap for 030 has been added to the -mm tree. Its filename is m68k-fix-__iounmap-for-030.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: m68k: fix __iounmap for 030 From: Roman Zippel <zippel@xxxxxxxxxxxxxx> Ignore empty pmd entry during iomap (these are the holes between the mappings). Signed-off-by: Roman Zippel <zippel@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- arch/m68k/mm/kmap.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff -puN arch/m68k/mm/kmap.c~m68k-fix-__iounmap-for-030 arch/m68k/mm/kmap.c --- a/arch/m68k/mm/kmap.c~m68k-fix-__iounmap-for-030 +++ a/arch/m68k/mm/kmap.c @@ -259,13 +259,15 @@ void __iounmap(void *addr, unsigned long if (CPU_IS_020_OR_030) { int pmd_off = (virtaddr/PTRTREESIZE) & 15; + int pmd_type = pmd_dir->pmd[pmd_off] & _DESCTYPE_MASK; - if ((pmd_dir->pmd[pmd_off] & _DESCTYPE_MASK) == _PAGE_PRESENT) { + if (pmd_type == _PAGE_PRESENT) { pmd_dir->pmd[pmd_off] = 0; virtaddr += PTRTREESIZE; size -= PTRTREESIZE; continue; - } + } else if (pmd_type == 0) + continue; } if (pmd_bad(*pmd_dir)) { _ Patches currently in -mm which might be from zippel@xxxxxxxxxxxxxx are origin.patch git-kbuild.patch 64-bit-resources-kconfig-change.patch m68k-fix-uaccessh-for-gcc-3x.patch m68k-fix-constraints-of-the-signal-functions-and-some-cleanup.patch m68k-fix-__iounmap-for-030.patch m68k-small-flush_icache-cleanup.patch m68k-add-the-generic-dma-api-functions.patch m68k-dma-api-addition.patch m68k-fix-show_registers.patch m68k-separate-handler-for-auto-and-user-vector-interrupt.patch m68k-cleanup-generic-irq-names.patch m68k-cleanup-amiga-irq-numbering.patch m68k-introduce-irq-controller.patch m68k-convert-generic-irq-code-to-irq-controller.patch m68k-convert-amiga-irq-code.patch m68k-convert-apollo-irq-code.patch m68k-convert-atari-irq-code.patch m68k-convert-hp300-irq-code.patch m68k-convert-mac-irq-code.patch m68k-convert-q40-irq-code.patch m68k-convert-sun3-irq-code.patch m68k-convert-vme-irq-code.patch affs_fill_super-%s-abuses-2.patch reintegrate-irqreturnh-into-hardirqh.patch time-use-clocksource-abstraction-for-ntp-adjustments-optimize-out-some-mults-since-gcc-cant-avoid-them.patch time-rename-clocksource-functions.patch fix-and-optimize-clock-source-update.patch fix-rt-mutex-defaults-and-dependencies.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html