summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2010-01-10 21:00:52 +0000
committeralc <alc@FreeBSD.org>2010-01-10 21:00:52 +0000
commit8825e3e101edadb52728cebd998e553d67ebbf06 (patch)
treed690a40b6d7e14406b2fc84b361b47a1da19bff6 /sys
parent90552e474a0c3a30d9265060f018c784ca048739 (diff)
downloadFreeBSD-src-8825e3e101edadb52728cebd998e553d67ebbf06.zip
FreeBSD-src-8825e3e101edadb52728cebd998e553d67ebbf06.tar.gz
Eliminate unused declarations.
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/amd64/mp_machdep.c6
-rw-r--r--sys/i386/xen/xen_machdep.c3
2 files changed, 0 insertions, 9 deletions
diff --git a/sys/amd64/amd64/mp_machdep.c b/sys/amd64/amd64/mp_machdep.c
index f5b1351..337c028 100644
--- a/sys/amd64/amd64/mp_machdep.c
+++ b/sys/amd64/amd64/mp_machdep.c
@@ -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;
diff --git a/sys/i386/xen/xen_machdep.c b/sys/i386/xen/xen_machdep.c
index 2c5ba5b..4eccdfa 100644
--- a/sys/i386/xen/xen_machdep.c
+++ b/sys/i386/xen/xen_machdep.c
@@ -715,9 +715,6 @@ xen_destroy_contiguous_region(void *addr, int npages)
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;
OpenPOWER on IntegriCloud