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/main.c | |
parent | 81954dbf2535b3ae65acabee5f6210d8a002a9a8 (diff) |
pckernel: use constants instead of hardcoding cpuid bits in various places
Diffstat (limited to 'sys/src/9/pc/main.c')
-rw-r--r-- | sys/src/9/pc/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/pc/main.c b/sys/src/9/pc/main.c index 71c469650..13b42bf99 100644 --- a/sys/src/9/pc/main.c +++ b/sys/src/9/pc/main.c @@ -523,7 +523,7 @@ matherror(Ureg *ur, void*) * a write cycle to port 0xF0 clears the interrupt latch attached * to the error# line from the 387 */ - if(!(m->cpuiddx & 0x01)) + if(!(m->cpuiddx & Fpuonchip)) outb(0xF0, 0xFF); /* |