: flasg needs to be unsigned long
PATCH 1/1 : flasg needs to be unsigned long
Hi
subject told all.
Once there, put they inside the right #ifdef
Later, Juan.
Index: arch/mips64/mm/c-r4k.c
===================================================================
RCS file: /home/cvs/linux/arch/mips64/mm/c-r4k.c,v retrieving revision 1.1.2.9
mips64/mm/c-r4k.c +4 -2
@@ -948,12 +948,13 @@static void r4k_dma_cache_wback_inv_pc (unsigned long addr,unsigned long size) {unsigned long end, a; -unsigned int flags;if (size >= dcache_size) {flush_cache_l1 (); }else {#ifdef R4600_V2_HIT_CACHEOP_WAR +unsigned long flags; +/* Workaround for R4600 bug. See comment in <asm/war>. */ __save_and_cli (flags); *(volatile unsigned long *)KSEG1 ;
@@ -994,12 +995,13 @@static void r4k_dma_cache_inv_pc (unsigned long addr,unsigned long size) {unsigned long end, a; -unsigned int flags;if (size >= dcache_size) {flush_cache_l1 (); }else {#ifdef R4600_V2_HIT_CACHEOP_WAR +unsigned long flags; +/* Workaround for R4600 bug. See comment in <asm/war>. */ __save_and_cli (flags); *(volatile unsigned long *)KSEG1 ;
Signature · 2 lines
In theory, practice and theory are the same, but in practice they are different -- Larry McVoy