diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-08-17 04:03:51 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-08-17 04:03:51 +0200 |
commit | 7fdf8205891496554b18650596334e28dc3366ed (patch) | |
tree | 98e0a65d6290af12f15af69b172bf33210cc3c7a /sys/src/9/pc/mp.c | |
parent | 81954dbf2535b3ae65acabee5f6210d8a002a9a8 (diff) |
pckernel: use constants instead of hardcoding cpuid bits in various places
Diffstat (limited to 'sys/src/9/pc/mp.c')
-rw-r--r-- | sys/src/9/pc/mp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/pc/mp.c b/sys/src/9/pc/mp.c index 7c5dcaa37..c53d2b089 100644 --- a/sys/src/9/pc/mp.c +++ b/sys/src/9/pc/mp.c @@ -99,7 +99,7 @@ checkmtrr(void) /* * If there are MTRR registers, snarf them for validation. */ - if(!(m->cpuiddx & 0x1000)) + if(!(m->cpuiddx & Mtrr)) return; rdmsr(0x0FE, &m->mtrrcap); |