
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Takashi Iwai wrote:
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?
Looks like it should. Thanks! - -Jeff
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;
- -- Jeff Mahoney SUSE Labs -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkildhkACgkQLPWxlyuTD7KvvgCdF1QvfkZq8e+/ZVVPJnmdkGtT 6m8AoKKDpRV5/g46ZvvyqYYRiqnVcF3r =O8eq -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org