Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/mpc6xx Oops, swapped mtsrin operands in pre...
details: https://anonhg.NetBSD.org/src/rev/5c1849f56241
branches: trunk
changeset: 526025:5c1849f56241
user: kleink <kleink%NetBSD.org@localhost>
date: Tue Apr 23 17:14:45 2002 +0000
description:
Oops, swapped mtsrin operands in previous.
diffstat:
sys/arch/powerpc/mpc6xx/pmap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r c50d0d6f9102 -r 5c1849f56241 sys/arch/powerpc/mpc6xx/pmap.c
--- a/sys/arch/powerpc/mpc6xx/pmap.c Tue Apr 23 17:04:31 2002 +0000
+++ b/sys/arch/powerpc/mpc6xx/pmap.c Tue Apr 23 17:14:45 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.42 2002/04/23 12:41:07 kleink Exp $ */
+/* $NetBSD: pmap.c,v 1.43 2002/04/23 17:14:45 kleink Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -2909,8 +2909,8 @@
if (kernsegs->st_mask & (1 << i)) {
pmap_kernel()->pm_sr[i] = kernsegs->st_sr[i];
__asm __volatile ("mtsrin %0,%1"
- :: "r"(i << ADDR_SR_SHFT),
- "r"(kernsegs->st_sr[i]));
+ :: "r"(pmap_kernel()->pm_sr[i]),
+ "r"(i << ADDR_SR_SHFT));
}
}
}
Home |
Main Index |
Thread Index |
Old Index