Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/arm32 Fix wrong instruction; mcr => mrc
details: https://anonhg.NetBSD.org/src/rev/545a8c7e014c
branches: trunk
changeset: 796716:545a8c7e014c
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Sun Jun 15 02:27:15 2014 +0000
description:
Fix wrong instruction; mcr => mrc
diffstat:
sys/arch/arm/arm32/cpuswitch.S | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r ded6e73180fd -r 545a8c7e014c sys/arch/arm/arm32/cpuswitch.S
--- a/sys/arch/arm/arm32/cpuswitch.S Sun Jun 15 01:37:48 2014 +0000
+++ b/sys/arch/arm/arm32/cpuswitch.S Sun Jun 15 02:27:15 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpuswitch.S,v 1.83 2014/03/28 21:52:53 matt Exp $ */
+/* $NetBSD: cpuswitch.S,v 1.84 2014/06/15 02:27:15 ozaki-r Exp $ */
/*
* Copyright 2003 Wasabi Systems, Inc.
@@ -87,7 +87,7 @@
#include <arm/asm.h>
#include <arm/locore.h>
- RCSID("$NetBSD: cpuswitch.S,v 1.83 2014/03/28 21:52:53 matt Exp $")
+ RCSID("$NetBSD: cpuswitch.S,v 1.84 2014/06/15 02:27:15 ozaki-r Exp $")
/* LINTSTUB: include <sys/param.h> */
@@ -139,7 +139,7 @@
#ifdef TPIDRPRW_IS_CURCPU
GET_CURCPU(r3)
#elif defined(TPIDRPRW_IS_CURLWP)
- mcr p15, 0, r0, c13, c0, 4 /* get old lwp (r4 maybe 0) */
+ mrc p15, 0, r0, c13, c0, 4 /* get old lwp (r4 maybe 0) */
ldr r3, [r0, #(L_CPU)] /* get cpu from old lwp */
#elif !defined(MULTIPROCESSOR)
ldr r3, [r6, #L_CPU] /* get cpu from new lwp */
Home |
Main Index |
Thread Index |
Old Index