[PATCH 18/48] drivers/net/ethernet/tile: __get_cpu_var call introduced in 3.14

From: Christoph Lameter
Date: Fri Feb 14 2014 - 15:30:18 EST


Another case was merged for 3.14-rc1

Signed-off-by: Christoph Lameter <cl@xxxxxxxxx>

Index: linux/drivers/net/ethernet/tile/tilegx.c
===================================================================
--- linux.orig/drivers/net/ethernet/tile/tilegx.c 2014-02-03 13:48:07.334069941 -0600
+++ linux/drivers/net/ethernet/tile/tilegx.c 2014-02-03 13:49:25.882425863 -0600
@@ -551,7 +551,7 @@
static void tile_net_receive_skb(struct net_device *dev, struct sk_buff *skb,
gxio_mpipe_idesc_t *idesc, unsigned long len)
{
- struct tile_net_info *info = &__get_cpu_var(per_cpu_info);
+ struct tile_net_info *info = this_cpu_ptr(&per_cpu_info);
struct tile_net_priv *priv = netdev_priv(dev);
int instance = priv->instance;


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/