Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Nov 2008 21:59:44 +0000 (UTC)
From:      Sam Leffler <sam@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r185490 - head/sys/dev/ath/ath_rate/sample
Message-ID:  <200811302159.mAULxilH003133@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 : \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811302159.mAULxilH003133>