From 3e0e77a8521331412c96b6371622aa2f76d7aefc Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sat, 11 Mar 2017 16:13:58 +0100 Subject: pc kernel: don't use active.thunderbirdsargo in vunmap() tlb flush code --- sys/src/9/pc/mmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/src') 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; } -- cgit v1.2.3