diff options
Diffstat (limited to 'usr/src/uts/intel/asm/cpuvar.h')
-rw-r--r-- | usr/src/uts/intel/asm/cpuvar.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/uts/intel/asm/cpuvar.h b/usr/src/uts/intel/asm/cpuvar.h index f2712cd2e0..efb09d6651 100644 --- a/usr/src/uts/intel/asm/cpuvar.h +++ b/usr/src/uts/intel/asm/cpuvar.h @@ -27,8 +27,7 @@ #ifndef _ASM_CPUVAR_H #define _ASM_CPUVAR_H -#pragma ident "%Z%%M% %I% %E% SMI" - +#include <sys/ccompile.h> #include <sys/types.h> #ifdef __cplusplus @@ -39,7 +38,8 @@ extern "C" { struct cpu; -extern __inline__ struct cpu *curcpup(void) +extern __GNU_INLINE struct cpu * +curcpup(void) { struct cpu *__value; |