Print this page
XXX AVX procfs

@@ -25,12 +25,10 @@
  */
 
 #ifndef _IA32_SYS_PRIVREGS_H
 #define _IA32_SYS_PRIVREGS_H
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
 #ifdef __cplusplus
 extern "C" {
 #endif
 
 /*

@@ -88,10 +86,11 @@
 
 #define GREG_NUM        8       /* Number of regs between %edi and %eax */
 
 #ifdef _KERNEL
 #define lwptoregs(lwp)  ((struct regs *)((lwp)->lwp_regs))
+#define lwptofpu(lwp)   ((kfpu_t *)((lwp)->lwp_fpu))
 #endif /* _KERNEL */
 
 #else   /* !_ASM */
 
 #if defined(_MACHDEP)