net/fsl: Replace spin_event_timeout() with arch independent in xgmac_mdio
authorShaohui Xie <Shaohui.Xie@freescale.com>
Wed, 21 Jan 2015 11:08:32 +0000 (19:08 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Jan 2015 07:36:06 +0000 (23:36 -0800)
commit22f6bba77fc4aa80ffea31f4c1009993f98aa020
treed59836d45cdfe84f1d7596cceed579391a23a91e
parentca43e58ca2fb9f8d09578e190d664332e0111ed4
net/fsl: Replace spin_event_timeout() with arch independent in xgmac_mdio

spin_event_timeout() is PPC dependent, use an arch independent
equivalent instead.

Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/xgmac_mdio.c