linux-mips
[Top] [All Lists]

[PATCH] Minor patch to build kernel for Ocelot-3

To: linux-mips@linux-mips.org
Subject: [PATCH] Minor patch to build kernel for Ocelot-3
From: Manish Lachwani <mlachwani@mvista.com>
Date: Wed, 12 Jan 2005 15:28:43 -0800
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.1i
Hello !

Attached patch is needed to build the kernel for Ocelot-3. Please apply

Thanks
Manish Lachwani

--- arch/mips/mm/sc-rm7k.c.orig 2005-01-12 15:25:06.000000000 -0800
+++ arch/mips/mm/sc-rm7k.c      2005-01-12 14:03:11.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;
<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] Minor patch to build kernel for Ocelot-3, Manish Lachwani <=