Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sh3/sh3 Revert changes made in 1.10. They should n...



details:   https://anonhg.NetBSD.org/src/rev/b97c5afeeaac
branches:  trunk
changeset: 588219:b97c5afeeaac
user:      uwe <uwe%NetBSD.org@localhost>
date:      Sun Feb 12 02:23:03 2006 +0000

description:
Revert changes made in 1.10.  They should not be necessary (we are
doing a single word store).  I've been running my Jornada without them
for a very long time, but got no word from dreamcast folks.  Thanks to
Nick Hudson for testing it on dreamcast finally.

diffstat:

 sys/arch/sh3/sh3/mmu.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r 81343605d1f1 -r b97c5afeeaac sys/arch/sh3/sh3/mmu.c
--- a/sys/arch/sh3/sh3/mmu.c    Sun Feb 12 01:32:06 2006 +0000
+++ b/sys/arch/sh3/sh3/mmu.c    Sun Feb 12 02:23:03 2006 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mmu.c,v 1.13 2006/01/24 00:01:22 uwe Exp $     */
+/*     $NetBSD: mmu.c,v 1.14 2006/02/12 02:23:03 uwe Exp $     */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mmu.c,v 1.13 2006/01/24 00:01:22 uwe Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mmu.c,v 1.14 2006/02/12 02:23:03 uwe Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -110,9 +110,6 @@
 void
 sh_tlb_set_asid(int asid)
 {
-       int s;
 
-       s = _cpu_exception_suspend();
        _reg_write_4(SH_(PTEH), asid);
-       _cpu_exception_resume(s);
 }



Home | Main Index | Thread Index | Old Index