From 1587dfd730b3614cbadeb2efed67de8b2db6b19d Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 26 Mar 2011 06:21:05 +0000 Subject: [PATCH] Move an external declaration to the appropriate header file. --- sys/amd64/amd64/minidump_machdep.c | 2 -- sys/amd64/include/pmap.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/amd64/amd64/minidump_machdep.c b/sys/amd64/amd64/minidump_machdep.c index 8b5ae7c0f9ab..aeab32ba8831 100644 --- a/sys/amd64/amd64/minidump_machdep.c +++ b/sys/amd64/amd64/minidump_machdep.c @@ -53,8 +53,6 @@ CTASSERT(sizeof(struct kerneldumpheader) == 512); #define MD_ALIGN(x) (((off_t)(x) + PAGE_MASK) & ~PAGE_MASK) #define DEV_ALIGN(x) (((off_t)(x) + (DEV_BSIZE-1)) & ~(DEV_BSIZE-1)) -extern uint64_t KPDPphys; - uint64_t *vm_page_dump; int vm_page_dump_size; diff --git a/sys/amd64/include/pmap.h b/sys/amd64/include/pmap.h index e4bd8298c513..5793d14ef016 100644 --- a/sys/amd64/include/pmap.h +++ b/sys/amd64/include/pmap.h @@ -180,6 +180,7 @@ typedef u_int64_t pml4_entry_t; #define PML4map ((pd_entry_t *)(addr_PML4map)) #define PML4pml4e ((pd_entry_t *)(addr_PML4pml4e)) +extern u_int64_t KPDPphys; /* physical address of kernel level 3 */ extern u_int64_t KPML4phys; /* physical address of kernel level 4 */ /*