linux-cvs-patches
[Top] [All Lists]

CVS Update@linux-mips.org: linux

To: linux-cvs-patches@linux-mips.org
Subject: CVS Update@linux-mips.org: linux
From: ralf@linux-mips.org
Date: Wed, 24 Aug 2005 16:30:57 +0100
Reply-to: linux-mips@linux-mips.org
Sender: linux-cvs-patches-bounce@linux-mips.org
CVSROOT:        /home/cvs
Module name:    linux
Changes by:     ralf@ftp.linux-mips.org 05/08/24 16:30:50

Modified files:
        arch/mips/kernel: vpe.c 

Log message:
        For now the register argument of mttgpr does not have a $ prefix.

diff -urN linux/arch/mips/kernel/vpe.c linux/arch/mips/kernel/vpe.c
--- linux/arch/mips/kernel/vpe.c        2005/08/23 15:12:49     1.2
+++ linux/arch/mips/kernel/vpe.c        2005/08/24 15:30:50     1.3
@@ -746,11 +746,14 @@
        write_vpe_c0_vpecontrol(read_vpe_c0_vpecontrol() & ~VPECONTROL_TE);     
// no multiple TC's
        write_vpe_c0_vpeconf0(read_vpe_c0_vpeconf0() | VPECONF0_VPA);   // 
enable this VPE
 
-       /* The sde-kit passes 'memsize' to __start in $a3, so set something 
here...
-          Or set $a3 to zero and define DFLT_STACK_SIZE and DFLT_HEAP_SIZE 
when you compile
-          your program */
+       /*
+        * The sde-kit passes 'memsize' to __start in $a3, so set something
+        * here...
+        * Or set $a3 (register 7) to zero and define DFLT_STACK_SIZE and
+        * DFLT_HEAP_SIZE when you compile your program
+        */
 
-       mttgpr($7, 0);
+       mttgpr(7, 0);
 
        /* set config to be the same as vpe0, particularly kseg0 coherency alg 
*/
        write_vpe_c0_config(read_c0_config());

<Prev in Thread] Current Thread [Next in Thread>