compile fix for mm/r4xx0.c
PATCH 1/1 compile fix for mm/r4xx0.c
Comments ?
Index: r4xx0.c
===================================================================
RCS file: /cvs/linux/arch/mips/mm/r4xx0.c,v
retrieving revision 1.45
mips/mm/r4xx0.c +3 -2
@@ -1967,16 +1967,17 @@if (!(vma->vm_flags &VM_EXEC ))return ; -blast_icache16_page (address); +blast_icache16_page ((unsigned long )page_address (page)); }static void r4k_flush_icache_page_i32 (struct vm_area_struct *vma,struct page *page) { +int address;if (!(vma->vm_flags &VM_EXEC ))return ; - address =KSEG0 + (address &PAGE_MASK & (dcache_size -1 )); + address =KSEG0 + ((unsigned long )page_address (page) &PAGE_MASK & (dcache_size -1 ));blast_icache32_page_indexed (address); }
Signature · 2 lines
Florian Lohoff [email protected] +49-5201-669912 Why is it called "common sense" when nobody seems to have any?