All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH]: flasg needs to be unsigned long
@ 2002-12-19 20:01 Juan Quintela
  0 siblings, 0 replies; only message in thread
From: Juan Quintela @ 2002-12-19 20:01 UTC (permalink / raw)
  To: Ralf Baechle, mipslist


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
diff -u -r1.1.2.9 c-r4k.c
--- arch/mips64/mm/c-r4k.c	18 Dec 2002 22:43:22 -0000	1.1.2.9
+++ arch/mips64/mm/c-r4k.c	19 Dec 2002 19:48:44 -0000
@@ -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;


-- 
In theory, practice and theory are the same, but in practice they 
are different -- Larry McVoy

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-12-19 19:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-19 20:01 [PATCH]: flasg needs to be unsigned long Juan Quintela

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.