summaryrefslogtreecommitdiffstats
path: root/net/core/dev.c
diff options
context:
space:
mode:
authorChangli Gao <xiaosuo@gmail.com>2010-12-14 03:09:15 +0000
committerDavid S. Miller <davem@davemloft.net>2010-12-16 13:16:06 -0800
commitb236da6931e2482bfe44a7865dd4e7bb036f3496 (patch)
treecf383f0fd1d4b1091e60413fe1aa6a054f6c6a58 /net/core/dev.c
parentcaafa84251b886feb6cdf23d50e2cc99dcdaaaf3 (diff)
downloadblackbird-op-linux-b236da6931e2482bfe44a7865dd4e7bb036f3496.tar.gz
blackbird-op-linux-b236da6931e2482bfe44a7865dd4e7bb036f3496.zip
net: use NUMA_NO_NODE instead of the magic number -1
Signed-off-by: Changli Gao <xiaosuo@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev.c')
-rw-r--r--net/core/dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dev.c b/net/core/dev.c
index b25dd087f06a..7ac26d2b9722 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -5121,7 +5121,7 @@ static void netdev_init_one_queue(struct net_device *dev,
spin_lock_init(&queue->_xmit_lock);
netdev_set_xmit_lockdep_class(&queue->_xmit_lock, dev->type);
queue->xmit_lock_owner = -1;
- netdev_queue_numa_node_write(queue, -1);
+ netdev_queue_numa_node_write(queue, NUMA_NO_NODE);
queue->dev = dev;
}
OpenPOWER on IntegriCloud