summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2017-03-11 16:13:58 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2017-03-11 16:13:58 +0100
commit3e0e77a8521331412c96b6371622aa2f76d7aefc (patch)
tree8a25eb44adefbbf3f55de6abdaf2ec719eb2e42d
parentcb5f6005bc3376c4ba12aa29ed9bc7649e41192f (diff)
downloadplan9front-3e0e77a8521331412c96b6371622aa2f76d7aefc.tar.xz
pc kernel: don't use active.thunderbirdsargo in vunmap() tlb flush code
-rw-r--r--sys/src/9/pc/mmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/pc/mmu.c b/sys/src/9/pc/mmu.c
index c0f7b7718..2e77aaee7 100644
--- a/sys/src/9/pc/mmu.c
+++ b/sys/src/9/pc/mmu.c
@@ -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;
}