diff options
author | jhb <jhb@FreeBSD.org> | 2002-05-22 13:19:22 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-05-22 13:19:22 +0000 |
commit | 2f66cc911b418b0d820bd028662ac3905e3478a7 (patch) | |
tree | bb850d4f1ca8bdf4d4ce47c766ee964f96c5a016 /sys/amd64 | |
parent | 1ce96038daa38344275f4a4122b2504962594f1e (diff) | |
download | FreeBSD-src-2f66cc911b418b0d820bd028662ac3905e3478a7.zip FreeBSD-src-2f66cc911b418b0d820bd028662ac3905e3478a7.tar.gz |
Rename cpu_pause() to pause(). Originally I was going to make this an
MI API with empty cpu_pause() functions on other arch's, but this
functionality is definitely unique to IA-32, so I decided to leave it
as i386-only and wrap it in #ifdef's. I should have dropped the cpu_
prefix when I made that decision.
Requested by: bde
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/include/cpufunc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/include/cpufunc.h b/sys/amd64/include/cpufunc.h index e0b7c99..47f3b76 100644 --- a/sys/amd64/include/cpufunc.h +++ b/sys/amd64/include/cpufunc.h @@ -561,7 +561,7 @@ load_dr7(u_int sel) } static __inline void -cpu_pause(void) +pause(void) { __asm __volatile("pause"); } |