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/349d30d7b8fe
branches:  trunk
changeset: 950355:349d30d7b8fe
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 e4641c6e77bb -r 349d30d7b8fe 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