diff options
author | Robert Richter <rrichter@cavium.com> | 2015-06-02 11:00:18 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-06-02 12:49:26 -0700 |
commit | d768b678a8d9c572ad3c2c6ba71d9e7029b867a2 (patch) | |
tree | e8c5f6e3226756e0e69c1001bb8090f14e4ca22b /kernel/kmod.c | |
parent | dda922c831d1661c11a3ae1051b7160236f6ffb0 (diff) | |
download | talos-obmc-linux-d768b678a8d9c572ad3c2c6ba71d9e7029b867a2.tar.gz talos-obmc-linux-d768b678a8d9c572ad3c2c6ba71d9e7029b867a2.zip |
net: thunderx: Cleanup duplicate NODE_ID macros, add nic_get_node_id()
There are duplicate NODE_ID macro definitions. Move all of them to
nic.h for usage in nic and bgx driver and introduce nic_get_node_id()
helper function.
This patch also fixes 64bit mask which should have been ULL by
reworking the node calculation.
Signed-off-by: Robert Richter <rrichter@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/kmod.c')
0 files changed, 0 insertions, 0 deletions