diff options
author | Changli Gao <xiaosuo@gmail.com> | 2010-12-13 22:09:15 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-16 16:16:06 -0500 |
commit | b236da6931e2482bfe44a7865dd4e7bb036f3496 (patch) | |
tree | cf383f0fd1d4b1091e60413fe1aa6a054f6c6a58 /include/linux/netdevice.h | |
parent | caafa84251b886feb6cdf23d50e2cc99dcdaaaf3 (diff) |
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 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 445e6825f8eb..cc916c5c3279 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -530,7 +530,7 @@ static inline int netdev_queue_numa_node_read(const struct netdev_queue *q) | |||
530 | #if defined(CONFIG_XPS) && defined(CONFIG_NUMA) | 530 | #if defined(CONFIG_XPS) && defined(CONFIG_NUMA) |
531 | return q->numa_node; | 531 | return q->numa_node; |
532 | #else | 532 | #else |
533 | return -1; | 533 | return NUMA_NO_NODE; |
534 | #endif | 534 | #endif |
535 | } | 535 | } |
536 | 536 | ||