Print this page
7159 libc-tests build failed on sparc

@@ -73,13 +73,10 @@
 
 static pthread_attr_t pgn_attr;
 static pthread_attr_t pgn_thr_attr;
 static pthread_barrier_t pgn_barrier;
 
-#ifdef  __sparc
-#define gregs   __gregs
-#endif
 
 /*
  * Verify that the stack pointer of a context is consistent with where the
  * attributes indicate.
  */

@@ -98,13 +95,10 @@
         sp = ctx.uc_mcontext.gregs[R_SP];
         VERIFY3U(sp, >, (uintptr_t)stk);
         VERIFY3U(sp, <, (uintptr_t)stk + stksz);
 }
 
-#ifdef  __sparc
-#undef  gregs
-#endif
 
 static void
 pgn_test_fini(void)
 {
         int ret;