diff options
author | SeongJae Park <sj@kernel.org> | 2022-03-22 22:49:24 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-03-22 23:57:13 +0100 |
commit | 5257f36ec289d544532f2889cbed11abbb06cf0c (patch) | |
tree | 75ed47a6b4ac762bbe57d360df08fb51ddefac3e /scripts/Lindent | |
parent | mm/damon/core: allow non-exclusive DAMON start/stop (diff) | |
download | linux-5257f36ec289d544532f2889cbed11abbb06cf0c.tar.xz linux-5257f36ec289d544532f2889cbed11abbb06cf0c.zip |
mm/damon/core: add number of each enum type values
This commit declares the number of legal values for each DAMON enum types
to make traversals of such DAMON enum types easy and safe.
Link: https://lkml.kernel.org/r/20220228081314.5770-3-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Cc: Xin Hao <xhao@linux.alibaba.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/Lindent')
0 files changed, 0 insertions, 0 deletions