[PATCH] AVR32: Don't try to iounmap P2 segment addresses
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Tue, 24 Oct 2006 08:12:41 +0000 (10:12 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 26 Oct 2006 03:26:33 +0000 (20:26 -0700)
commitbee8ce809fb1c877388be032b468574a1cfff9ef
tree6ffcef006fa4ab2ac9d282531a86cb859f87dd93
parent6ea850b5eb17f6d21ac1b3d99406d213a10c64e9
[PATCH] AVR32: Don't try to iounmap P2 segment addresses

While ioremap() will happily map a physical address through the
P2 (uncached) segment when appropriate, iounmap() doesn't know how
to handle those mappings.

This patch makes iounmap() do the right thing, i.e. nothing, for
such mappings.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/avr32/mm/ioremap.c