summaryrefslogtreecommitdiffstats
path: root/mm/mlock.c
diff options
context:
space:
mode:
authorRobert Richter <rrichter@cavium.com>2015-06-02 11:00:18 -0700
committerDavid S. Miller <davem@davemloft.net>2015-06-02 12:49:26 -0700
commitd768b678a8d9c572ad3c2c6ba71d9e7029b867a2 (patch)
treee8c5f6e3226756e0e69c1001bb8090f14e4ca22b /mm/mlock.c
parentdda922c831d1661c11a3ae1051b7160236f6ffb0 (diff)
downloadtalos-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 'mm/mlock.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud