[PATCH] r4k_blast_dcache_page compile fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
the attached patch moves the opening brace out of the the
R4600_V1_HIT_DCACHE_WAR ifdef to make things compile again (good old
egcs 1.1.2 thinks this is even worth an ICE). Patch is against 2.5 but
should apply against 2.4 as well. Please apply.
Regards,
 -- Guido
Index: arch/mips/mm/c-r4k.c
===================================================================
RCS file: /home/cvs/linux/arch/mips/mm/c-r4k.c,v
retrieving revision 1.31
diff -u -p -r1.31 c-r4k.c
--- arch/mips/mm/c-r4k.c	31 Mar 2003 23:32:17 -0000	1.31
+++ arch/mips/mm/c-r4k.c	2 Apr 2003 22:51:33 -0000
@@ -73,8 +73,8 @@ dc_32:
 	return;
 
 dc_32_r4600:
-#ifdef R4600_V1_HIT_DCACHE_WAR
 	{
+#ifdef R4600_V1_HIT_DCACHE_WAR
 	unsigned long flags;
 
 	local_irq_save(flags);
Index: arch/mips64/mm/c-r4k.c
===================================================================
RCS file: /home/cvs/linux/arch/mips64/mm/c-r4k.c,v
retrieving revision 1.18
diff -u -p -r1.18 c-r4k.c
--- arch/mips64/mm/c-r4k.c	31 Mar 2003 23:32:17 -0000	1.18
+++ arch/mips64/mm/c-r4k.c	2 Apr 2003 22:51:46 -0000
@@ -73,8 +73,8 @@ dc_32:
 	return;
 
 dc_32_r4600:
-#ifdef R4600_V1_HIT_DCACHE_WAR
 	{
+#ifdef R4600_V1_HIT_DCACHE_WAR
 	unsigned long flags;
 
 	local_irq_save(flags);

[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux