summaryrefslogtreecommitdiff
path: root/sys/src/9/pc/mmu.c
diff options
context:
space:
mode:
authoraiju <devnull@localhost>2018-07-11 14:50:22 +0100
committeraiju <devnull@localhost>2018-07-11 14:50:22 +0100
commit3a77c01f43821dcc4f7cae54aff89bb20f2d95a5 (patch)
tree2934609fdeebaddaf8f5d28601b488ba5a3d8d74 /sys/src/9/pc/mmu.c
parent911df94e5d712d7e2eebb4a3997efce17e2599f2 (diff)
pc kernel: get rid of ugly and partially broken cpuid macros
Diffstat (limited to 'sys/src/9/pc/mmu.c')
-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 2e77aaee7..50832ac0f 100644
--- a/sys/src/9/pc/mmu.c
+++ b/sys/src/9/pc/mmu.c
@@ -198,7 +198,7 @@ flushmmu(void)
void
flushpg(ulong va)
{
- if(X86FAMILY(m->cpuidax) >= 4)
+ if(m->cpuidfamily >= 4)
invlpg(va);
else
putcr3(getcr3());