From: David Xu Date: Fri, 7 Apr 2006 14:11:22 +0000 (+0000) Subject: Use the branch prediction macros in sys/cdefs.h. X-Git-Tag: v2.0.1~5115 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/f63431a170b5d87d35dd7d883a8da5452426b42f?hp=ae0ec55c25228ae0a4d924cbe25e0290f1a262bf Use the branch prediction macros in sys/cdefs.h. --- diff --git a/lib/libthread_xu/thread/thr_private.h b/lib/libthread_xu/thread/thr_private.h index b4fb9d5322..1663665d5f 100644 --- a/lib/libthread_xu/thread/thr_private.h +++ b/lib/libthread_xu/thread/thr_private.h @@ -32,7 +32,7 @@ * Private thread definitions for the uthread kernel. * * $FreeBSD: src/lib/libpthread/thread/thr_private.h,v 1.120 2004/11/01 10:49:34 davidxu Exp $ - * $DragonFly: src/lib/libthread_xu/thread/thr_private.h,v 1.13 2006/04/06 23:50:13 davidxu Exp $ + * $DragonFly: src/lib/libthread_xu/thread/thr_private.h,v 1.14 2006/04/07 14:11:22 davidxu Exp $ */ #ifndef _THR_PRIVATE_H @@ -71,11 +71,6 @@ #define stdout_debug(args...) _thread_printf(STDOUT_FILENO, ##args) #define stderr_debug(args...) _thread_printf(STDOUT_FILENO, ##args) -#ifdef __DragonFly__ -#define __predict_true(exp) (exp) -#define __predict_false(exp) (exp) -#endif - #ifdef _PTHREADS_INVARIANTS #define THR_ASSERT(cond, msg) do { \ if (__predict_false(!(cond))) \