Staticize mp_nbusses
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 19 Jun 2009 12:19:18 +0000 (20:19 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 22 Jun 2009 11:39:49 +0000 (19:39 +0800)
sys/platform/pc32/i386/mp_machdep.c
sys/platform/pc32/include/smp.h

index b6f8ce4..1be7955 100644 (file)
@@ -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
index 700371a..d5be5ae 100644 (file)
@@ -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[];