diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2018-08-22 06:54:34 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-08-22 19:52:46 +0200 |
commit | f6d2f584d88616e27eeb603dc8c88ca16e00d682 (patch) | |
tree | d72d76e6cfc3b9b4aa2f2cdf00053b0a630b5294 /fs/proc/internal.h | |
parent | proc: save 2 atomic ops on write to "/proc/*/attr/*" (diff) | |
download | linux-f6d2f584d88616e27eeb603dc8c88ca16e00d682.tar.xz linux-f6d2f584d88616e27eeb603dc8c88ca16e00d682.zip |
proc: use macro in /proc/latency hook
->latency_record is defined as
struct latency_record[LT_SAVECOUNT];
so use the same macro whie iterating.
Link: http://lkml.kernel.org/r/20180627200534.GA18434@avx2
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/proc/internal.h')
0 files changed, 0 insertions, 0 deletions