svn commit: r244685 - user/attilio/membarclean/sys

Attilio Rao attilio at FreeBSD.org
Tue Dec 25 16:44:50 UTC 2012


Author: attilio
Date: Tue Dec 25 16:44:50 2012
New Revision: 244685
URL: http://svnweb.freebsd.org/changeset/base/244685

Log:
  Fix up the bultin detection for the time being.

Modified:
  user/attilio/membarclean/sys/cdefs.h

Modified: user/attilio/membarclean/sys/cdefs.h
==============================================================================
--- user/attilio/membarclean/sys/cdefs.h	Tue Dec 25 16:36:38 2012	(r244684)
+++ user/attilio/membarclean/sys/cdefs.h	Tue Dec 25 16:44:50 2012	(r244685)
@@ -229,9 +229,7 @@
 #define	__alignof(x)	__offsetof(struct { char __a; x __b; }, __b)
 #endif
 
-#if defined(__GNUC__) && 						\
-    ((defined(__clang__) && __has_builtin(__builtin_prefetch)) ||	\
-    __GNUC_PREREQ__(3, 0))
+#if defined(__GNUC__) && __GNUC_PREREQ__(3, 0)
 #define	PRFTCH_RD	0
 #define	PRFTCH_WR	1
 


More information about the svn-src-user mailing list