Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/include add #ifndef _LOCORE.



details:   https://anonhg.NetBSD.org/src/rev/85779d1fb246
branches:  trunk
changeset: 518019:85779d1fb246
user:      uch <uch%NetBSD.org@localhost>
date:      Fri Nov 23 15:48:40 2001 +0000

description:
add #ifndef _LOCORE.

diffstat:

 sys/arch/mips/include/cache_r5900.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r f09741b7adfd -r 85779d1fb246 sys/arch/mips/include/cache_r5900.h
--- a/sys/arch/mips/include/cache_r5900.h       Fri Nov 23 15:44:15 2001 +0000
+++ b/sys/arch/mips/include/cache_r5900.h       Fri Nov 23 15:48:40 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cache_r5900.h,v 1.2 2001/11/14 18:26:21 thorpej Exp $  */
+/*     $NetBSD: cache_r5900.h,v 1.3 2001/11/23 15:48:40 uch Exp $      */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -56,7 +56,7 @@
 #define CACHEOP_R5900_HWB_D            0x1c
                                        /* HIT WRITEBACK W/O INVALIDATE */
 
-#ifdef _KERNEL
+#if defined(_KERNEL) && !defined(_LOCORE)
 
 #define        cache_op_r5900_line_64(va, op)                                  \
 do {                                                                   \
@@ -144,4 +144,4 @@
 void   r5900_pdcache_inv_range_64(vaddr_t, vsize_t);
 void   r5900_pdcache_wb_range_64(vaddr_t, vsize_t);
 
-#endif /* _KERNEL */
+#endif /* _KERNEL && !_LOCORE */



Home | Main Index | Thread Index | Old Index