]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
b43legacy: Remove switch statement with 64-bit index
authorLarry Finger <Larry.Finger@lwfinger.net>
Fri, 4 Jul 2008 13:39:01 +0000 (08:39 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 8 Jul 2008 18:16:04 +0000 (14:16 -0400)
commit70197ede33134725f3e2e606fcabc28b0a4549a3
treeb4f62374362e041156630daa0400320abf6abff6
parentae73e58ea64f121b26437a10937330e77ff48f33
b43legacy: Remove switch statement with 64-bit index

The gcc 3.4 fork used to compile the MN10300 port emits unwanted
__ucmpdi2() calls for switch statements that use a 64bit value.

This patch removes such a switch from b43legacy, and makes the code
more like that used in b43. Thanks to Adrian Bunk <bunk@kernel.org>
for reporting the problem.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43legacy/dma.c