]> git.baikalelectronics.ru Git - kernel.git/commit
brcmfmac: work-around gcc 4.7 build issue
authorAlexandre Oliva <oliva@lsd.ic.unicamp.br>
Mon, 16 Jan 2012 19:00:12 +0000 (14:00 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 17 Jan 2012 15:12:19 +0000 (10:12 -0500)
commitdc268043f76483cca0b9163456cc0a946c9c50c7
tree83e07ecd0cbc5462111b30d31624d6c2a654df32
parent2a8a624121b716d200413230f4751c31db8a21a6
brcmfmac: work-around gcc 4.7 build issue

Alexandre Oliva <oliva@lsd.ic.unicamp.br> says:

"It's an issue brought about by GCC 4.7's partial-inlining, that ends up
splitting the udelay function just at the wrong spot, in such a way that
some sanity checks for constants fails, and we end up calling
bad_udelay.

This patch fixes the problem.  Feel free to push it upstream if it makes
sense to you."

Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c