cpu_info is not in spr0, but spr_g_0.

This commit is contained in:
matt 2002-07-30 06:10:46 +00:00
parent 8f6326d364
commit 7c4618a9ce
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: bzero.S,v 1.3 2002/03/13 00:59:29 eeh Exp $ */
/* $NetBSD: bzero.S,v 1.4 2002/07/30 06:10:46 matt Exp $ */
/*-
* Copyright (C) 2001 Martin J. Laubach <mjl@netbsd.org>
@ -198,7 +198,7 @@ cb_cacheline_known:
#else /* _KERNEL */
#ifdef MULTIPROCESSOR
mfspr r10, 0 /* Get cpu_info pointer */
mfsprg r10, 0 /* Get cpu_info pointer */
#else
lis r10, cpu_info_store@ha
addi r10, r10, cpu_info_store@l