Module Name: src Committed By: mrg Date: Mon Jan 25 20:05:30 UTC 2021
Modified Files: src/sys/arch/sparc/include: pmap.h Log Message: avoid needing <machine/promlib.h>. fixes sparc64 build. To generate a diff of this commit: cvs rdiff -u -r1.96 -r1.97 src/sys/arch/sparc/include/pmap.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/sparc/include/pmap.h diff -u src/sys/arch/sparc/include/pmap.h:1.96 src/sys/arch/sparc/include/pmap.h:1.97 --- src/sys/arch/sparc/include/pmap.h:1.96 Sun Jan 24 07:36:54 2021 +++ src/sys/arch/sparc/include/pmap.h Mon Jan 25 20:05:29 2021 @@ -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 @@ struct vm_page; #include <uvm/uvm_prot.h> #include <uvm/uvm_pmap.h> -#include <machine/promlib.h> - #include <sparc/pte.h> /* @@ -190,6 +188,7 @@ struct segmap { #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;