CVSROOT:        /cvs
Module name:    src
Changes by:     j...@cvs.openbsd.org    2015/11/05 19:49:06

Modified files:
        sys/arch/i386/i386: cpu.c 

Log message:
Only read/write cr4 if we have a bit to set after testing the various
cpuid based flags.

Unlike amd64 there is no CR4_DEFAULT used here, cr4 does not exist
on most/all? 486s and cr4 access traps on Cyrix 5x86 processors.

Should fix a regression introduced in rev 1.65 encountered
by 'Ppractivus' on a 5x86.

"looks good" guenther@

Reply via email to