[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)
commit90833fdab89da02fc0276224167f0a42e5176f41
tree98faf88d640260ccd7d4d6f8050d3daac29e4374
parentcb00e99c0abd844b884c64c6b54aa3b7d345ebb1
[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