Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/include Move struct segmap declaration insi...



details:   https://anonhg.NetBSD.org/src/rev/2ea6fc2f3fe5
branches:  trunk
changeset: 514387:2ea6fc2f3fe5
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Aug 31 18:06:13 2001 +0000

description:
Move struct segmap declaration inside #ifndef _LOCORE to make locore.s
compilable again.

diffstat:

 sys/arch/sparc64/include/pmap.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 8845ca45e2d6 -r 2ea6fc2f3fe5 sys/arch/sparc64/include/pmap.h
--- a/sys/arch/sparc64/include/pmap.h   Fri Aug 31 17:10:54 2001 +0000
+++ b/sys/arch/sparc64/include/pmap.h   Fri Aug 31 18:06:13 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.h,v 1.17 2001/08/30 09:32:23 mrg Exp $    */
+/*     $NetBSD: pmap.h,v 1.18 2001/08/31 18:06:13 martin Exp $ */
 
 /*-
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -184,7 +184,6 @@
 
 
 #endif /* _KERNEL */
-#endif /* _LOCORE */
 
 /* This is only for compatibility with the SPARC */ 
 struct segmap {
@@ -192,4 +191,6 @@
        pmeg_t  sg_pmeg;                /* the MMU segment number (4c) */
        u_char  sg_npte;                /* number of valid PTEs per seg */
 };
+
+#endif /* _LOCORE */
 #endif /* _MACHINE_PMAP_H_ */



Home | Main Index | Thread Index | Old Index