Rev 5056 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5056 | Rev 6936 | ||
---|---|---|---|
Line 14... | Line 14... | ||
14 | 14 | ||
15 | #define DEFINE_HASHTABLE(name, bits) \ |
15 | #define DEFINE_HASHTABLE(name, bits) \ |
16 | struct hlist_head name[1 << (bits)] = \ |
16 | struct hlist_head name[1 << (bits)] = \ |
Line -... | Line 17... | ||
- | 17 | { [0 ... ((1 << (bits)) - 1)] = HLIST_HEAD_INIT } |
|
- | 18 | ||
- | 19 | #define DEFINE_READ_MOSTLY_HASHTABLE(name, bits) \ |
|
- | 20 | struct hlist_head name[1 << (bits)] __read_mostly = \ |
|
17 | { [0 ... ((1 << (bits)) - 1)] = HLIST_HEAD_INIT } |
21 | { [0 ... ((1 << (bits)) - 1)] = HLIST_HEAD_INIT } |
18 | 22 | ||
Line 19... | Line 23... | ||
19 | #define DECLARE_HASHTABLE(name, bits) \ |
23 | #define DECLARE_HASHTABLE(name, bits) \ |
20 | struct hlist_head name[1 << (bits)] |
24 | struct hlist_head name[1 << (bits)] |