Print this page
XXX AVX procfs

@@ -108,10 +108,11 @@
 #define r_pc    r_rip   /* user's instruction pointer */
 #define r_ps    r_rfl   /* user's RFLAGS */
 
 #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)