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 wrap #ifdef SH4



details:   https://anonhg.NetBSD.org/src/rev/e832091ad343
branches:  trunk
changeset: 522141:e832091ad343
user:      uch <uch%NetBSD.org@localhost>
date:      Mon Feb 11 18:55:16 2002 +0000

description:
wrap #ifdef SH4

diffstat:

 sys/arch/sh3/sh3/trap.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 3bb0a20be018 -r e832091ad343 sys/arch/sh3/sh3/trap.c
--- a/sys/arch/sh3/sh3/trap.c   Mon Feb 11 18:55:11 2002 +0000
+++ b/sys/arch/sh3/sh3/trap.c   Mon Feb 11 18:55:16 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.29 2002/02/11 18:06:06 uch Exp $    */
+/*     $NetBSD: trap.c,v 1.30 2002/02/11 18:55:16 uch Exp $    */
 
 /*-
  * Copyright (c) 1995 Charles M. Hannum.  All rights reserved.
@@ -167,6 +167,7 @@
        SHREG_PTEL = pte & PG_HW_BITS;
 }
 
+#ifdef SH4
 void
 __setup_pte_sh4(vaddr_t va, u_int32_t pte)
 {
@@ -185,6 +186,7 @@
                SHREG_PTEA = 0;
        }
 }
+#endif /* SH4 */
 
 /*
  * trap(frame):



Home | Main Index | Thread Index | Old Index