Title: [6882] trunk/arch/blackfin/include/asm/cacheflush.h: bug[#5278] Remove 0x1000 as Mike prefered.
- Revision
- 6882
- Author
- sonicz
- Date
- 2009-06-30 21:41:03 -0500 (Tue, 30 Jun 2009)
Log Message
bug[#5278] Remove 0x1000 as Mike prefered.
Modified Paths
Diff
Modified: trunk/arch/blackfin/include/asm/cacheflush.h (6881 => 6882)
--- trunk/arch/blackfin/include/asm/cacheflush.h 2009-06-30 14:57:22 UTC (rev 6881)
+++ trunk/arch/blackfin/include/asm/cacheflush.h 2009-07-01 02:41:03 UTC (rev 6882)
@@ -56,8 +56,10 @@
static inline void flush_icache_range(unsigned start, unsigned end)
{
+ if (start >= end)
+ return;
#if defined(CONFIG_BFIN_EXTMEM_WRITEBACK)
- if (start >= 0x1000 && end <= physical_mem_end)
+ if (end <= physical_mem_end)
blackfin_dcache_flush_range(start, end);
#endif
#if defined(CONFIG_BFIN_L2_WRITEBACK)
@@ -75,7 +77,7 @@
*/
SSYNC();
#if defined(CONFIG_BFIN_EXTMEM_ICACHEABLE)
- if (start >= 0x1000 && end <= physical_mem_end) {
+ if (end <= physical_mem_end) {
blackfin_icache_flush_range(start, end);
flush_icache_range_others(start, end);
}
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits