svn commit: r185490 - head/sys/dev/ath/ath_rate/sample

Sam Leffler sam at FreeBSD.org
Sun Nov 30 13:59:44 PST 2008


Author: sam
Date: Sun Nov 30 21:59:44 2008
New Revision: 185490
URL: http://svn.freebsd.org/changeset/base/185490

Log:
  cover up sun4v namespace pollution

Modified:
  head/sys/dev/ath/ath_rate/sample/sample.c

Modified: head/sys/dev/ath/ath_rate/sample/sample.c
==============================================================================
--- head/sys/dev/ath/ath_rate/sample/sample.c	Sun Nov 30 21:40:01 2008	(r185489)
+++ head/sys/dev/ath/ath_rate/sample/sample.c	Sun Nov 30 21:59:44 2008	(r185490)
@@ -405,6 +405,9 @@ static const struct txschedule series_ha
 };
 #undef H
 
+#ifdef Q
+#undef Q		/* sun4v bogosity */
+#endif
 #define Q(_r) \
     (((_r) == 1.5) ? 0 : (((_r) ==2.25) ? 1 : (((_r) == 3)  ? 2 : \
     (((_r) == 4.5) ? 3 : (((_r) ==  6)  ? 4 : (((_r) == 9)  ? 5 : \


More information about the svn-src-head mailing list