diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2021-03-15 15:49:23 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2021-03-15 15:49:23 +0000 |
commit | 3bcb779f66430b73b4466602183b754ecc90dd66 (patch) | |
tree | c3743c2444ccd4bbe3d09a0d22a481ee288f0519 /sys/arch/powerpc | |
parent | 44d6788c930f8e2c60d425977bf445d8eb7f032c (diff) |
Don't put an extern variable (ppc_kvm_stolen) into vmparam.h, other instances
of this file are only doing cpp #define
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r-- | sys/arch/powerpc/powerpc/pmap.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) |