Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/ibm4xx copyin(): Remove one more needless m...
details: https://anonhg.NetBSD.org/src/rev/e3be1486422a
branches: trunk
changeset: 370000:e3be1486422a
user: rin <rin%NetBSD.org@localhost>
date: Mon Sep 12 06:19:14 2022 +0000
description:
copyin(): Remove one more needless mtpid. No regression for full ATF.
diffstat:
sys/arch/powerpc/ibm4xx/trap.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r f84e121986d4 -r e3be1486422a sys/arch/powerpc/ibm4xx/trap.c
--- a/sys/arch/powerpc/ibm4xx/trap.c Mon Sep 12 02:25:44 2022 +0000
+++ b/sys/arch/powerpc/ibm4xx/trap.c Mon Sep 12 06:19:14 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.95 2022/09/11 09:27:18 rin Exp $ */
+/* $NetBSD: trap.c,v 1.96 2022/09/12 06:19:14 rin Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.
@@ -69,7 +69,7 @@
#define __UFETCHSTORE_PRIVATE
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.95 2022/09/11 09:27:18 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.96 2022/09/12 06:19:14 rin Exp $");
#ifdef _KERNEL_OPT
#include "opt_ddb.h"
@@ -498,8 +498,7 @@
"dcbst 0,%[kaddr];" /* flush cache */
"sync;"
- "10:" "mtpid %[pid];" /* Restore PID and MSR */
- "mtmsr %[msr];"
+ "10:" "mtmsr %[msr];" /* Restore MSR */
"isync;"
: [msr] "=&r" (msr), [pid] "=&r" (pid), [tmp] "=&r" (tmp)
Home |
Main Index |
Thread Index |
Old Index