fix UP compilation
This commit is contained in:
parent
4956a0d10f
commit
fa178c7b04
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/8/; revision=199774
@ -34,10 +34,10 @@ void force_evtchn_callback(void);
|
|||||||
#include <vm/pmap.h>
|
#include <vm/pmap.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
extern int gdtset;
|
||||||
#ifdef SMP
|
#ifdef SMP
|
||||||
#include <sys/time.h> /* XXX for pcpu.h */
|
#include <sys/time.h> /* XXX for pcpu.h */
|
||||||
#include <sys/pcpu.h> /* XXX for PCPU_GET */
|
#include <sys/pcpu.h> /* XXX for PCPU_GET */
|
||||||
extern int gdtset;
|
|
||||||
static inline int
|
static inline int
|
||||||
smp_processor_id(void)
|
smp_processor_id(void)
|
||||||
{
|
{
|
||||||
|
@ -148,9 +148,7 @@ IdlePDPT: .long 0 /* phys addr of kernel PDPT */
|
|||||||
.globl KPTphys
|
.globl KPTphys
|
||||||
#endif
|
#endif
|
||||||
KPTphys: .long 0 /* phys addr of kernel page tables */
|
KPTphys: .long 0 /* phys addr of kernel page tables */
|
||||||
#ifdef SMP
|
|
||||||
.globl gdtset
|
.globl gdtset
|
||||||
#endif
|
|
||||||
gdtset: .long 0 /* GDT is valid */
|
gdtset: .long 0 /* GDT is valid */
|
||||||
|
|
||||||
.globl proc0kstack
|
.globl proc0kstack
|
||||||
|
Loading…
Reference in New Issue
Block a user