#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 xt.git/atom/include/dt-bindings/gpio?h=nds-private-remove' type='application/atom+xml'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@HansenPartnership.com>2017-01-17 17:32:54 -0500
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2017-01-17 17:32:54 -0500
commit9208b75e048dda0d285904de9be7ab654a4b94fc (patch)
treeb3af58ccd11b9ea186d1388be263b8ae0cb829b3 /include/dt-bindings/gpio
parent2f5a31456ee80b37ef1170319fa134af0a1dfcc4 (diff)
parentffb58456589443ca572221fabbdef3db8483a779 (diff)
Merge remote-tracking branch 'mkp-scsi/fixes' into fixes
Diffstat (limited to 'include/dt-bindings/gpio')