Module Name: src Committed By: matt Date: Wed Jun 8 05:11:07 UTC 2011
Modified Files: src/sys/arch/powerpc/include: asm.h Log Message: In INIT_CPUINFO, make L_CPU to set the cpu_info (just to be safe). To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/sys/arch/powerpc/include/asm.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/powerpc/include/asm.h diff -u src/sys/arch/powerpc/include/asm.h:1.37 src/sys/arch/powerpc/include/asm.h:1.38 --- src/sys/arch/powerpc/include/asm.h:1.37 Sun Jun 5 16:52:25 2011 +++ src/sys/arch/powerpc/include/asm.h Wed Jun 8 05:11:07 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: asm.h,v 1.37 2011/06/05 16:52:25 matt Exp $ */ +/* $NetBSD: asm.h,v 1.38 2011/06/08 05:11:07 matt Exp $ */ /* * Copyright (C) 1995, 1996 Wolfgang Solfrank. @@ -214,6 +214,7 @@ lis %r13,_C_LABEL(lwp0)@h; \ ori %r13,%r13,_C_LABEL(lwp0)@l; \ stptr er,L_PCB(%r13); /* XXXuvm_lwp_getuarea */ \ + stptr tmp1,L_CPU(%r13); \ addi er,er,USPACE; /* stackpointer for lwp0 */ \ addi sp,er,-FRAMELEN-CALLFRAMELEN; /* stackpointer for lwp0 */ \ stptr sp,L_MD_UTF(%r13); /* save in lwp0.l_md.md_utf */ \