#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 emove' type='application/atom+xml'/>
summaryrefslogtreecommitdiff
on value='0' selected='selected'>include
AgeCommit message (Expand)AuthorFilesLines
mode:
Diffstat (limited to 'include')
-rw-r--r--include/net/busy_poll.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/net/busy_poll.h b/include/net/busy_poll.h