* [PATCH] Rm7000/Rm9000 cache code change for 64-bit
@ 2004-11-04 18:04 Manish Lachwani
0 siblings, 0 replies; only message in thread
From: Manish Lachwani @ 2004-11-04 18:04 UTC (permalink / raw)
To: linux-mips; +Cc: ralf
[-- Attachment #1: Type: text/plain, Size: 213 bytes --]
Hi Ralf
Attached small change fixes Rm7000/Rm9000 cache code to compile for 64-bit. This has
been verified on the 2.6.10 kernel and tested on the Momentum Ocelot-3 board.
Please review
Thanks
Manish Lachwani
[-- Attachment #2: patch-cache-ckseg --]
[-- Type: text/plain, Size: 569 bytes --]
--- arch/mips/mm/sc-rm7k.c.orig 2004-11-04 09:27:09.000000000 -0800
+++ arch/mips/mm/sc-rm7k.c 2004-11-02 11:10:51.000000000 -0800
@@ -127,13 +127,13 @@
".set mips0\n\t"
".set reorder"
:
- : "r" (KSEG0ADDR(i)), "i" (Index_Store_Tag_SD));
+ : "r" (CKSEG0ADDR(i)), "i" (Index_Store_Tag_SD));
}
}
static __init void rm7k_sc_enable(void)
{
- void (*func)(void) = (void *) KSEG1ADDR(&__rm7k_sc_enable);
+ void (*func)(void) = (void *) CKSEG1ADDR(&__rm7k_sc_enable);
if (read_c0_config() & 0x08) /* CONF_SE */
return;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-11-04 18:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-04 18:04 [PATCH] Rm7000/Rm9000 cache code change for 64-bit Manish Lachwani
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox