Title: [8462] trunk/arch/blackfin/include/asm/cacheflush.h: Fix the compile error for UP, pointed out by Grace and Robin
- Revision
- 8462
- Author
- gyang
- Date
- 2010-03-13 02:29:22 -0500 (Sat, 13 Mar 2010)
Log Message
Fix the compile error for UP, pointed out by Grace and Robin
Modified Paths
Diff
Modified: trunk/arch/blackfin/include/asm/cacheflush.h (8461 => 8462)
--- trunk/arch/blackfin/include/asm/cacheflush.h 2010-03-12 21:17:44 UTC (rev 8461)
+++ trunk/arch/blackfin/include/asm/cacheflush.h 2010-03-13 07:29:22 UTC (rev 8462)
@@ -11,7 +11,9 @@
#include <asm/blackfin.h> /* for SSYNC() */
#include <asm/sections.h> /* for _ramend */
+#ifdef CONFIG_SMP
#include <asm/smp.h>
+#endif
extern void blackfin_icache_flush_range(unsigned long start_address, unsigned long end_address);
extern void blackfin_dcache_flush_range(unsigned long start_address, unsigned long end_address);
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits