]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drivers-net-rename-random32-to-prandom_u32-fix
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 17 Apr 2013 23:49:20 +0000 (09:49 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 22 Apr 2013 08:08:33 +0000 (18:08 +1000)
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/net/team/team_mode_random.c

index 9eabfaa22f3e0eb7690806375d1f21f69ba618fe..5ca14d463ba7d897931b41b8c8f515a67ff9829c 100644 (file)
@@ -18,7 +18,7 @@
 
 static u32 random_N(unsigned int N)
 {
-       return reciprocal_divide(random32(), N);
+       return reciprocal_divide(prandom_u32(), N);
 }
 
 static bool rnd_transmit(struct team *team, struct sk_buff *skb)