Skip to contentSkip to conversation

CVS [email protected]: linux

DISCUSSION Atsushi Nemoto 2 participants 2 messages Oct 3, 2002 1 message not in the archive MIPS

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · On Mon, 30 Sep 2002 18:53:47 +0200, [email protected] said:

Log message:
More cache code cleanup.

This commit contains following change. It seems 'addr' argument is not used. Isn't this a mistake?

Quoted 6 lines
(quoted diff) +1 -1
@@ -123,15 +72,14 @@ static inline void protected_flush_icach
 	__asm__ __volatile__(
 		".set noreorder\n\t"
 		".set mips3\n"
-		"1:\tcache %1,(%0)\n"
+		"1:\tcache %0,(%1)\n"

Review static inline void protected_flush_icach · line 83

Quoted 10 lines
(quoted diff) +1 -2
 		"2:\t.set mips0\n\t"
 		".set reorder\n\t"
 		".section\t__ex_table,\"a\"\n\t"
 		STR(PTR)"\t1b,2b\n\t"
 		".previous"
 		:
-		: "r" (addr),
-		  "i" (Hit_Invalidate_I));
+		: "i" (Hit_Invalidate_I), "i" (Hit_Invalidate_I));
 }

---
Atsushi Nemoto

#2 lore raw
Quoted 2 lines · Atsushi Nemoto

This commit contains following change. It seems 'addr' argument is not used. Isn't this a mistake?

Yes, it is. Fixed,

Ralf