summaryrefslogtreecommitdiff
path: root/cpus.h
AgeCommit message (Collapse)AuthorFilesLines
2013-06-12cpus: let it always return an unsigned int and bail out on errorDaniel Borkmann1-4/+16
In case of an error, just panic, to make sure we always get a val >= 1. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
2013-06-04cpus: break out cpu related functions from xutilsDaniel Borkmann1-0/+16
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
mit/include?h=nds-private-remove&id=14b89f36eed2993670906a3991bca496a5ebf1a6'>14b89f36eed2993670906a3991bca496a5ebf1a6 (patch) tree13350317f0ef8479ea5f315694679ffa9f064058 /include parenta23b296198cbf2b78101e7e745f9c45663c3f82e (diff)
net: dsa: Rename and export dev_to_net_device()
In preparation for using this function in net/dsa/dsa2.c, rename the function to make its scope DSA specific, and export it. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/dsa.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/dsa.h b/include/net/dsa.h