Make LAZY_SWITCH work with PAE

This commit is contained in:
Peter Wemm 2003-06-27 22:13:30 +00:00
parent 464c662efa
commit 48eceb6213

View file

@ -168,7 +168,11 @@ ENTRY(cpu_switch)
#ifdef LAZY_SWITCH
cmpl $0,lazy_flush_enable
je 1f
#ifdef PAE
cmpl %eax,IdlePTD /* Kernel address space? */
#else
cmpl %eax,IdlePTD /* Kernel address space? */
#endif
#ifdef SWTCH_OPTIM_STATS
je 3f
#else