2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-11-20 08:38:24 +08:00

More .set push/pop.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
Thiemo Seufer 2005-09-02 09:56:12 +00:00 committed by Ralf Baechle
parent 5bcb9a58e6
commit d8748a3abf

View File

@ -773,6 +773,7 @@ static inline void rm7k_erratum31(void)
for (addr = INDEX_BASE; addr <= INDEX_BASE + 4096; addr += ic_lsize) { for (addr = INDEX_BASE; addr <= INDEX_BASE + 4096; addr += ic_lsize) {
__asm__ __volatile__ ( __asm__ __volatile__ (
".set push\n\t"
".set noreorder\n\t" ".set noreorder\n\t"
".set mips3\n\t" ".set mips3\n\t"
"cache\t%1, 0(%0)\n\t" "cache\t%1, 0(%0)\n\t"
@ -787,8 +788,7 @@ static inline void rm7k_erratum31(void)
"cache\t%1, 0x1000(%0)\n\t" "cache\t%1, 0x1000(%0)\n\t"
"cache\t%1, 0x2000(%0)\n\t" "cache\t%1, 0x2000(%0)\n\t"
"cache\t%1, 0x3000(%0)\n\t" "cache\t%1, 0x3000(%0)\n\t"
".set\tmips0\n\t" ".set pop\n"
".set\treorder\n\t"
: :
: "r" (addr), "i" (Index_Store_Tag_I), "i" (Fill)); : "r" (addr), "i" (Index_Store_Tag_I), "i" (Fill));
} }