From 0cc4b3ed113ebd5447f33e18c4a6323f75aa1fe5 Mon Sep 17 00:00:00 2001 From: Alexander Eremin Date: Fri, 29 Jul 2016 00:38:59 -0700 Subject: 7159 libc-tests build failed on sparc Reviewed by: Richard Lowe Reviewed by: Robert Mustacchi Approved by: Robert Mustacchi --- usr/src/test/libc-tests/tests/threads/pthread_attr_get_np.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'usr/src/test/libc-tests') diff --git a/usr/src/test/libc-tests/tests/threads/pthread_attr_get_np.c b/usr/src/test/libc-tests/tests/threads/pthread_attr_get_np.c index 71a58c30fd..9d58a7126d 100644 --- a/usr/src/test/libc-tests/tests/threads/pthread_attr_get_np.c +++ b/usr/src/test/libc-tests/tests/threads/pthread_attr_get_np.c @@ -75,9 +75,6 @@ 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 @@ -100,9 +97,6 @@ pgn_verif_thr_stack(pthread_attr_t *attr) VERIFY3U(sp, <, (uintptr_t)stk + stksz); } -#ifdef __sparc -#undef gregs -#endif static void pgn_test_fini(void) -- cgit v1.2.3