]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] 4554/1: replace consistent_sync() with flush_ioremap_region()
authorJared Hulbert <jaredeh@gmail.com>
Wed, 22 Aug 2007 16:38:25 +0000 (17:38 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 23 Aug 2007 11:31:31 +0000 (12:31 +0100)
commit58054e96207f16e0812685d6c265568d9e80f2b9
tree98faf88d640260ccd7d4d6f8050d3daac29e4374
parent1738b7154f2c89a7029e23dc6ae33c79fc571109
[ARM] 4554/1: replace consistent_sync() with flush_ioremap_region()

This fixes a regression from around 2.6.18, consistent_sync() will now BUG()
under these circumstances.  The use of consistent_sync() was a hack, replacing
it's usage here with a new function, flush_ioremap_region().

Signed-off-by: Jared Hulbert <jaredeh@gmail.com>
Acked-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mtd/maps/lubbock-flash.c
drivers/mtd/maps/mainstone-flash.c
include/asm-arm/cacheflush.h