From ef1cb4c265c81ab9fd713aa3fb8231868a6cfdbd Mon Sep 17 00:00:00 2001 From: sam Date: Sun, 30 Nov 2008 21:59:44 +0000 Subject: cover up sun4v namespace pollution --- sys/dev/ath/ath_rate/sample/sample.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/dev/ath/ath_rate/sample') diff --git a/sys/dev/ath/ath_rate/sample/sample.c b/sys/dev/ath/ath_rate/sample/sample.c index 05d4381..15c88db 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 : \ -- cgit v1.1