From abe45f39559867d84370bf61f05b7649cd17a7b9 Mon Sep 17 00:00:00 2001 From: Sepherosa Ziehau Date: Fri, 19 Jun 2009 20:19:18 +0800 Subject: [PATCH] Staticize mp_nbusses --- sys/platform/pc32/i386/mp_machdep.c | 2 +- sys/platform/pc32/include/smp.h | 1 - 2 files changed, 1 insertions(+), 2 deletions(-) diff --git a/sys/platform/pc32/i386/mp_machdep.c b/sys/platform/pc32/i386/mp_machdep.c index b6f8ce4..1be7955 100644 --- a/sys/platform/pc32/i386/mp_machdep.c +++ b/sys/platform/pc32/i386/mp_machdep.c @@ -230,7 +230,7 @@ int current_postcode; extern struct region_descriptor r_gdt, r_idt; int mp_naps; /* # of Applications processors */ -int mp_nbusses; /* # of busses */ +static int mp_nbusses; /* # of busses */ #ifdef APIC_IO int mp_napics; /* # of IO APICs */ #endif diff --git a/sys/platform/pc32/include/smp.h b/sys/platform/pc32/include/smp.h index 700371a..d5be5ae 100644 --- a/sys/platform/pc32/include/smp.h +++ b/sys/platform/pc32/include/smp.h @@ -58,7 +58,6 @@ void io_apic_write (int, int, u_int); /* global data in mp_machdep.c */ extern int mp_naps; -extern int mp_nbusses; extern int mp_napics; extern vm_offset_t cpu_apic_address; extern vm_offset_t io_apic_address[]; -- 1.7.7.2