]> git.baikalelectronics.ru Git - kernel.git/commit
mm/vmstat.c: convert to use DEFINE_SEQ_ATTRIBUTE macro
authorKefeng Wang <wangkefeng.wang@huawei.com>
Thu, 4 Jun 2020 23:51:08 +0000 (16:51 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 5 Jun 2020 02:06:26 +0000 (19:06 -0700)
commit92bd8954da27b6b679f9922995e3b85307d11306
tree3d5f3bdd1b50477207ba389113878e21ccfa5ff8
parentd687c66a4ffffdd317e92b658001a9f1ab53fff8
mm/vmstat.c: convert to use DEFINE_SEQ_ATTRIBUTE macro

Use DEFINE_SEQ_ATTRIBUTE macro to simplify the code.

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Greg KH <gregkh@linuxfoundation.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Link: http://lkml.kernel.org/r/20200509064031.181091-3-wangkefeng.wang@huawei.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmstat.c