Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/include avoid needing <machine/promlib.h>. f...



details:   https://anonhg.NetBSD.org/src/rev/72e31e92332f
branches:  trunk
changeset: 1018208:72e31e92332f
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Jan 25 20:05:29 2021 +0000

description:
avoid needing <machine/promlib.h>.  fixes sparc64 build.

diffstat:

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

diffs (26 lines):

diff -r a8cb5fe04d5e -r 72e31e92332f sys/arch/sparc/include/pmap.h
--- a/sys/arch/sparc/include/pmap.h     Mon Jan 25 19:59:49 2021 +0000
+++ b/sys/arch/sparc/include/pmap.h     Mon Jan 25 20:05:29 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.h,v 1.96 2021/01/24 07:36:54 mrg Exp $ */
+/*     $NetBSD: pmap.h,v 1.97 2021/01/25 20:05:29 mrg Exp $ */
 
 /*
  * Copyright (c) 1996
@@ -55,8 +55,6 @@
 #include <uvm/uvm_prot.h>
 #include <uvm/uvm_pmap.h>
 
-#include <machine/promlib.h>
-
 #include <sparc/pte.h>
 
 /*
@@ -190,6 +188,7 @@
 #define PMAP_NULL      ((pmap_t)0)
 
 /* Mostly private data exported for a few key consumers. */
+struct memarr;
 extern struct memarr *pmemarr;
 extern int npmemarr;
 extern vaddr_t prom_vstart;



Home | Main Index | Thread Index | Old Index