patch-2.3.47 linux/include/asm-arm/cpu-multi32.h

Next file: linux/include/asm-arm/cpu-single.h
Previous file: linux/include/asm-alpha/smp.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.46/linux/include/asm-arm/cpu-multi32.h linux/include/asm-arm/cpu-multi32.h
@@ -96,6 +96,10 @@
 	 * Idle the processor
 	 */
 	int (*_do_idle)(void);
+	/*
+	 * flush I cache for a page
+	 */
+	void (*_flush_icache_page)(unsigned long address);
 } processor;
 
 extern const struct processor arm6_processor_functions;
@@ -123,6 +127,7 @@
 #define cpu_flush_icache_area(start,end)	processor._flush_icache_area(start,end)
 #define cpu_cache_wback_area(start,end)		processor._cache_wback_area(start,end)
 #define cpu_cache_purge_area(start,end)		processor._cache_purge_area(start,end)
+#define cpu_flush_icache_page(virt)		processor._flush_icache_page(virt)
 
 #define cpu_switch_mm(pgd,tsk)			cpu_set_pgd(__virt_to_phys((unsigned long)(pgd)))
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)