Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sh5/include Gee, this file is showing its origins.....



details:   https://anonhg.NetBSD.org/src/rev/ba220fadcb0b
branches:  trunk
changeset: 537579:ba220fadcb0b
user:      scw <scw%NetBSD.org@localhost>
date:      Wed Oct 02 16:19:59 2002 +0000

description:
Gee, this file is showing its origins... cpu_swapout() may invoke
panic() on MIPS, but really shouldn't do the same on SH5.

diffstat:

 sys/arch/sh5/include/cpu.h |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (23 lines):

diff -r 8ea275e2eca6 -r ba220fadcb0b sys/arch/sh5/include/cpu.h
--- a/sys/arch/sh5/include/cpu.h        Wed Oct 02 16:04:58 2002 +0000
+++ b/sys/arch/sh5/include/cpu.h        Wed Oct 02 16:19:59 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.h,v 1.6 2002/09/10 11:11:12 scw Exp $      */
+/*     $NetBSD: cpu.h,v 1.7 2002/10/02 16:19:59 scw Exp $      */
 
 /*
  * Copyright 2002 Wasabi Systems, Inc.
@@ -167,11 +167,10 @@
 #define        cpu_number()                    0
 
 /*
- * Can't swapout u-area, (__SWAP_BROKEN)
- * since we use P1 converted address for trapframe.
+ * Can swapout u-area
  */
 #define        cpu_swapin(p)                   /* nothing */
-#define        cpu_swapout(p)                  panic("cpu_swapout: can't get here");
+#define        cpu_swapout(p)                  /* nothing */
 
 /*
  * Arguments to hardclock and gatherstats encapsulate the previous



Home | Main Index | Thread Index | Old Index