diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-11-15 23:01:29 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-11-15 23:01:29 +0000 |
commit | 0bae1a0a21b430c103cef64aebbde5aa867bbcd7 (patch) | |
tree | 1d69860953a1c73376adb06d4c672ab642c8a4f2 /sys/amd64/include/psl.h | |
parent | 8f2b8dd14d81d7c00926911c84eb1b531de2ba20 (diff) | |
download | FreeBSD-src-0bae1a0a21b430c103cef64aebbde5aa867bbcd7.zip FreeBSD-src-0bae1a0a21b430c103cef64aebbde5aa867bbcd7.tar.gz |
Allow bit 21 of EFLAGS register (PSL_ID) be changed in the use-mode without
ill effects. This should fix problems threaded programs are having with
auto-detecting CPU type.
Reported by: Joe Clarke <marcus@marcuscom.com>
Tested by: Joe Clarke <marcus@marcuscom.com>
Reviewed by: jhb
MFC after: 1 week
Diffstat (limited to 'sys/amd64/include/psl.h')
-rw-r--r-- | sys/amd64/include/psl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/include/psl.h b/sys/amd64/include/psl.h index 6a7e233..302d469 100644 --- a/sys/amd64/include/psl.h +++ b/sys/amd64/include/psl.h @@ -83,6 +83,6 @@ * 386's. */ #define PSL_USERCHANGE (PSL_C | PSL_PF | PSL_AF | PSL_Z | PSL_N | PSL_T \ - | PSL_D | PSL_V | PSL_NT | PSL_AC) + | PSL_D | PSL_V | PSL_NT | PSL_AC | PSL_ID) #endif /* !_MACHINE_PSL_H_ */ |