fix UP compilation

This commit is contained in:
Kip Macy 2009-09-11 23:41:11 +00:00
parent ca8a21efc8
commit 7d05808361
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=197108
2 changed files with 1 additions and 3 deletions

View File

@ -34,10 +34,10 @@ void force_evtchn_callback(void);
#include <vm/pmap.h>
#endif
extern int gdtset;
#ifdef SMP
#include <sys/time.h> /* XXX for pcpu.h */
#include <sys/pcpu.h> /* XXX for PCPU_GET */
extern int gdtset;
static inline int
smp_processor_id(void)
{

View File

@ -148,9 +148,7 @@ IdlePDPT: .long 0 /* phys addr of kernel PDPT */
.globl KPTphys
#endif
KPTphys: .long 0 /* phys addr of kernel page tables */
#ifdef SMP
.globl gdtset
#endif
gdtset: .long 0 /* GDT is valid */
.globl proc0kstack