
At Thu, 14 Aug 2008 16:51:14 -0400, Jeff Mahoney wrote:
powerpc is failing with an internal compiler error while building ath9k. I hope to gather a bit more information on that tomorrow.
The following patch is found in linux-next tree. Maybe this helps? Takashi --- From 655f30bb59b72e369bf3b10e7308704db6542c6a Mon Sep 17 00:00:00 2001 From: Stephen Rothwell <sfr@canb.auug.org.au> Date: Mon, 11 Aug 2008 16:17:33 +1000 Subject: [PATCH] ath9k: work around gcc ICE again Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> diff --git a/drivers/net/wireless/ath9k/hw.c b/drivers/net/wireless/ath9k/hw.c index bde162f..ac2a087 100644 --- a/drivers/net/wireless/ath9k/hw.c +++ b/drivers/net/wireless/ath9k/hw.c @@ -5017,7 +5017,10 @@ static void ath9k_hw_spur_mitigate(struct ath_hal *ah, for (i = 0; i < 123; i++) { if ((cur_vit_mask > lower) && (cur_vit_mask < upper)) { - if ((abs(cur_vit_mask - bin)) < 75) + /* workaround for gcc bug #37014 */ + volatile int tmp = abs(cur_vit_mask - bin); + + if (tmp < 75) mask_amt = 1; else mask_amt = 0; -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org