#ifndef __NET_NS_HASH_H__ #define __NET_NS_HASH_H__ #include struct net; static inline u32 net_hash_mix(const struct net *net) { #ifdef CONFIG_NET_NS /* * shift this right to eliminate bits, that are * always zeroed */ return (u32)(((unsigned long)net) >> L1_CACHE_SHIFT); #else return 0; #endif } #endif de/soc/nps?h=nds-private-remove' type='application/atom+xml'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2016-11-15 15:01:09 +0000
committerMark Brown <broonie@kernel.org>2016-11-15 15:22:10 +0000
commit53a20465e6b674eb6ce594b0e9e8940495e95f33 (patch)
tree4d4c29c7c68ab2a1b69e4bd3903949356d2467e8 /include/soc/nps
parent1001354ca34179f3db924eb66672442a173147dc (diff)
regulator: pwm: Add missing quotes to DT example
Reported-by: Peter Rosin <peda@axentia.se> Signed-off-by: Mark Brown <broonie@kernel.org> Acked-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'include/soc/nps')