mirror of
https://github.com/opnsense/src.git
synced 2026-05-04 17:05:14 -04:00
Make LAZY_SWITCH work with PAE
This commit is contained in:
parent
464c662efa
commit
48eceb6213
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue