From: Russell King Date: Sun, 25 Jan 2009 17:36:34 +0000 (+0000) Subject: [ARM] fix section-based ioremap X-Git-Tag: v2.6.29-rc3~20^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24f11ec001920f1cfaeeed8e8b55725d900bbb56;p=pandora-kernel.git [ARM] fix section-based ioremap Tomi Valkeinen reports: Running with latest linux-omap kernel on OMAP3 SDP board, I have problem with iounmap(). It looks like iounmap() does not properly free large areas. Below is a test which fails for me in 6-7 loops. for (i = 0; i < 200; ++i) { vaddr = ioremap(paddr, size); if (!vaddr) { printk("couldn't ioremap\n"); break; } iounmap(vaddr); } The changes to vmalloc.c weren't reflected in the ARM ioremap implementation. Turns out the fix is rather simple. Tested-by: Tomi Valkeinen Tested-by: Matt Gerassimoff Signed-off-by: Russell King --- Reading git-diff-tree failed