diff options
author | avg <avg@FreeBSD.org> | 2009-09-30 16:34:50 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2009-09-30 16:34:50 +0000 |
commit | b6e8843767a58415038acc8a36342bb6977e8daa (patch) | |
tree | fd90d801fef27f46a7ab905d509ae4911d0fac4d /sys/i386 | |
parent | da9ae504397cf8ef970c4e4633e391a1f153054b (diff) | |
download | FreeBSD-src-b6e8843767a58415038acc8a36342bb6977e8daa.zip FreeBSD-src-b6e8843767a58415038acc8a36342bb6977e8daa.tar.gz |
cpufunc.h: unify/correct style of c extension names
i386 and amd64 archs only.
inline => __inline. [1]
__asm__ => __asm. [2]
Reviewed by: kib, jhb [1]
Suggested by: kib [2]
MFC after: 1 week
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/include/cpufunc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/include/cpufunc.h b/sys/i386/include/cpufunc.h index 147040b..78863d1 100644 --- a/sys/i386/include/cpufunc.h +++ b/sys/i386/include/cpufunc.h @@ -132,14 +132,14 @@ enable_intr(void) #endif } -static inline void +static __inline void cpu_monitor(const void *addr, int extensions, int hints) { __asm __volatile("monitor;" : :"a" (addr), "c" (extensions), "d"(hints)); } -static inline void +static __inline void cpu_mwait(int extensions, int hints) { __asm __volatile("mwait;" : :"a" (hints), "c" (extensions)); |