From 3bcb779f66430b73b4466602183b754ecc90dd66 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 15 Mar 2021 15:49:23 +0000 Subject: Don't put an extern variable (ppc_kvm_stolen) into vmparam.h, other instances of this file are only doing cpp #define --- sys/arch/powerpc/powerpc/pmap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/arch/powerpc') diff --git a/sys/arch/powerpc/powerpc/pmap.c b/sys/arch/powerpc/powerpc/pmap.c index 92bab4e4424..3a01cd508ac 100644 --- a/sys/arch/powerpc/powerpc/pmap.c +++ b/sys/arch/powerpc/powerpc/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.174 2021/03/11 11:16:59 jsg Exp $ */ +/* $OpenBSD: pmap.c,v 1.175 2021/03/15 15:49:22 deraadt Exp $ */ /* * Copyright (c) 2015 Martin Pieuchot @@ -1461,6 +1461,7 @@ pmap_bootstrap(u_int kernelstart, u_int kernelend) int i, k; struct pmapvp *vp1; struct pmapvp *vp2; + extern vaddr_t ppc_kvm_stolen; /* * set the page size (default value is 4K which is ok) -- cgit v1.2.3