pc kernel: don't use active.thunderbirdsargo in vunmap() tlb flush code

This commit is contained in:
cinap_lenrek 2017-03-11 16:13:58 +01:00
parent cb5f6005bc
commit 3e0e77a852

View file

@ -679,7 +679,7 @@ vunmap(void *v, int size)
* boot. In that case it suffices to flush the MACH(0) TLB
* and return.
*/
if(!active.thunderbirdsarego){
if(up == nil){
putcr3(PADDR(MACHP(0)->pdb));
return;
}