Author: alc
Date: Sat Mar 26 06:21:05 2011
New Revision: 220021
URL: http://svn.freebsd.org/changeset/base/220021

Log:
  Move an external declaration to the appropriate header file.

Modified:
  head/sys/amd64/amd64/minidump_machdep.c
  head/sys/amd64/include/pmap.h

Modified: head/sys/amd64/amd64/minidump_machdep.c
==============================================================================
--- head/sys/amd64/amd64/minidump_machdep.c     Sat Mar 26 03:01:48 2011        
(r220020)
+++ head/sys/amd64/amd64/minidump_machdep.c     Sat Mar 26 06:21:05 2011        
(r220021)
@@ -53,8 +53,6 @@ CTASSERT(sizeof(struct kerneldumpheader)
 #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;
 

Modified: head/sys/amd64/include/pmap.h
==============================================================================
--- head/sys/amd64/include/pmap.h       Sat Mar 26 03:01:48 2011        
(r220020)
+++ head/sys/amd64/include/pmap.h       Sat Mar 26 06:21:05 2011        
(r220021)
@@ -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 */
 
 /*
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to