Print this page
XXX AVX procfs

@@ -1522,11 +1522,10 @@
 
 /* ARGSUSED */
 static int
 pr_read_xregs(prnode_t *pnp, uio_t *uiop)
 {
-#if defined(__sparc)
         proc_t *p;
         kthread_t *t;
         int error;
         char *xreg;
         size_t size;

@@ -1555,13 +1554,10 @@
 
         error = pr_uioread(xreg, size, uiop);
 out:
         kmem_free(xreg, sizeof (prxregset_t));
         return (error);
-#else
-        return (0);
-#endif
 }
 
 #if defined(__sparc)
 
 static int