commit | 0ca44b148ef2596882742dc03ef1c3adcd40f03b | [log] [tgz] |
---|---|---|
author | Greg Thelen <[email protected]> | Wed Feb 11 15:25:58 2015 -0800 |
committer | Linus Torvalds <[email protected]> | Wed Feb 11 17:06:02 2015 -0800 |
tree | 5bd974396d0348cb6fd03e588302c8cc50716c98 | |
parent | 90cbc2508827e1e15dca23361c33cc26dd2b9e99 [diff] |
memcg: add BUILD_BUG_ON() for string tables Use BUILD_BUG_ON() to compile assert that memcg string tables are in sync with corresponding enums. There aren't currently any issues with these tables. This is just defensive. Signed-off-by: Greg Thelen <[email protected]> Acked-by: Johannes Weiner <[email protected]> Acked-by: Michal Hocko <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>