diff options
author | dfr <dfr@FreeBSD.org> | 2002-03-12 09:45:17 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2002-03-12 09:45:17 +0000 |
commit | c9a75e90acae043e9bf161c81b0a0d0bc9e3f5d1 (patch) | |
tree | c6658f5bc2841f1d1df0d939007e9cc25316292d /sys | |
parent | af1be86a5d1a482af91f3cc016c2f2bbfa227fe2 (diff) | |
download | FreeBSD-src-c9a75e90acae043e9bf161c81b0a0d0bc9e3f5d1.zip FreeBSD-src-c9a75e90acae043e9bf161c81b0a0d0bc9e3f5d1.tar.gz |
Only i386 has wbinvd().
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/acpica/acpica_support.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/acpica/acpica_support.c b/sys/dev/acpica/acpica_support.c index 00951ab..749edbd 100644 --- a/sys/dev/acpica/acpica_support.c +++ b/sys/dev/acpica/acpica_support.c @@ -85,7 +85,9 @@ AcpiEnterSleepStateS4Bios ( /* flush caches */ +#ifdef __i386__ wbinvd(); +#endif /* write the value to command port and wait until we enter sleep state */ do |