svn commit: r202047 - in head/sys: amd64/amd64 i386/xen

Alan Cox alc at FreeBSD.org
Sun Jan 10 21:00:53 UTC 2010


Author: alc
Date: Sun Jan 10 21:00:52 2010
New Revision: 202047
URL: http://svn.freebsd.org/changeset/base/202047

Log:
  Eliminate unused declarations.

Modified:
  head/sys/amd64/amd64/mp_machdep.c
  head/sys/i386/xen/xen_machdep.c

Modified: head/sys/amd64/amd64/mp_machdep.c
==============================================================================
--- head/sys/amd64/amd64/mp_machdep.c	Sun Jan 10 20:29:20 2010	(r202046)
+++ head/sys/amd64/amd64/mp_machdep.c	Sun Jan 10 21:00:52 2010	(r202047)
@@ -98,12 +98,6 @@ char *doublefault_stack;
 char *nmi_stack;
 void *dpcpu;
 
-/* Hotwire a 0->4MB V==P mapping */
-extern pt_entry_t *KPTphys;
-
-/* SMP page table page */
-extern pt_entry_t *SMPpt;
-
 struct pcb stoppcbs[MAXCPU];
 struct xpcb **stopxpcbs = NULL;
 

Modified: head/sys/i386/xen/xen_machdep.c
==============================================================================
--- head/sys/i386/xen/xen_machdep.c	Sun Jan 10 20:29:20 2010	(r202046)
+++ head/sys/i386/xen/xen_machdep.c	Sun Jan 10 21:00:52 2010	(r202047)
@@ -715,9 +715,6 @@ xen_destroy_contiguous_region(void *addr
 	balloon_unlock(flags);
 }
 
-extern unsigned long cpu0prvpage;
-extern unsigned long *SMPpt;
-extern  struct user	*proc0uarea;
 extern  vm_offset_t	proc0kstack;
 extern int vm86paddr, vm86phystk;
 char *bootmem_start, *bootmem_current, *bootmem_end;


More information about the svn-src-all mailing list