commit | 57925c96cca87341c096d8e14435ae782977704c | [log] [tgz] |
---|---|---|
author | Alexei Starovoitov <ast@kernel.org> | Wed Mar 21 23:40:35 2018 -0700 |
committer | Alexei Starovoitov <ast@fb.com> | Thu Mar 22 16:57:30 2018 -0700 |
tree | 6093453ee5f7239ff6474f36eabe07beb868d150 | |
parent | d1baa02fdddad49ea4c8db36c11e5bcb8232b45b [diff] |
macro: introduce COUNT_ARGS() macro move COUNT_ARGS() macro from apparmor to generic header and extend it to count till twelve. COUNT() was an alternative name for this logic, but it's used for different purpose in many other places. Similarly for CONCATENATE() macro. Suggested-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org>