]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - include/linux/hashtable.h
net/mlx5: Use flow steering infrastructure for mlx5_en
[mirror_ubuntu-artful-kernel.git] / include / linux / hashtable.h
index 519b6e2d769ede04d120f6ea3bc5f848e4978148..661e5c2a8e2a49e30d2fe3895f234e321ec81c71 100644 (file)
        struct hlist_head name[1 << (bits)] =                                   \
                        { [0 ... ((1 << (bits)) - 1)] = HLIST_HEAD_INIT }
 
+#define DEFINE_READ_MOSTLY_HASHTABLE(name, bits)                               \
+       struct hlist_head name[1 << (bits)] __read_mostly =                     \
+                       { [0 ... ((1 << (bits)) - 1)] = HLIST_HEAD_INIT }
+
 #define DECLARE_HASHTABLE(name, bits)                                          \
        struct hlist_head name[1 << (bits)]