Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/mips Use the correct register (s0) for the cpu...
details: https://anonhg.NetBSD.org/src/rev/86327f3670f3
branches: trunk
changeset: 346380:86327f3670f3
user: skrll <skrll%NetBSD.org@localhost>
date: Mon Jul 11 14:27:03 2016 +0000
description:
Use the correct register (s0) for the cpu number to copy to the second
argument (a1)
diffstat:
sys/arch/mips/mips/locore_octeon.S | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 64fc6957c32b -r 86327f3670f3 sys/arch/mips/mips/locore_octeon.S
--- a/sys/arch/mips/mips/locore_octeon.S Mon Jul 11 14:18:16 2016 +0000
+++ b/sys/arch/mips/mips/locore_octeon.S Mon Jul 11 14:27:03 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore_octeon.S,v 1.7 2015/06/10 22:31:00 matt Exp $ */
+/* $NetBSD: locore_octeon.S,v 1.8 2016/07/11 14:27:03 skrll Exp $ */
/*
* Copyright (c) 2007 Internet Initiative Japan, Inc.
@@ -27,7 +27,7 @@
*/
#include <mips/asm.h>
-RCSID("$NetBSD: locore_octeon.S,v 1.7 2015/06/10 22:31:00 matt Exp $")
+RCSID("$NetBSD: locore_octeon.S,v 1.8 2016/07/11 14:27:03 skrll Exp $")
#include "cpunode.h" /* for NWDOG */
#include "opt_cputype.h"
@@ -143,7 +143,7 @@
beqz a0, 3b # loop until not NULL
nop
jal _C_LABEL(kcpuset_atomic_set)
- move a1, s1 # pass it our cpu number
+ move a1, s0 # pass it our cpu number
// Wait until cpuid_infos[cpunum] is not NULL.
PTR_LA a1, _C_LABEL(cpuid_infos)
Home |
Main Index |
Thread Index |
Old Index