From fe7432d7f0b7f8af5092bc1eb579f7dca55600c3 Mon Sep 17 00:00:00 2001 From: Sam Leffler Date: Sun, 30 Nov 2008 21:59:44 +0000 Subject: [PATCH] cover up sun4v namespace pollution --- sys/dev/ath/ath_rate/sample/sample.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/dev/ath/ath_rate/sample/sample.c b/sys/dev/ath/ath_rate/sample/sample.c index 05d4381f019..15c88db4801 100644 --- a/sys/dev/ath/ath_rate/sample/sample.c +++ b/sys/dev/ath/ath_rate/sample/sample.c @@ -405,6 +405,9 @@ static const struct txschedule series_half[] = { }; #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 : \