x86/mm/dump_pagetables: Use DEFINE_SHOW_ATTRIBUTE()
authorYangtao Li <tiny.windzz@gmail.com>
Mon, 19 Nov 2018 15:43:34 +0000 (10:43 -0500)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 18 Dec 2018 12:05:54 +0000 (13:05 +0100)
commit6848ac7ca39a226ede5df7af0efcc4ef0611e99c
tree0ca0fd1945c290923d3af47e9b790a3ae95d628c
parent3c567356dbe0da4fc310cfcffafc39526e1ca43a
x86/mm/dump_pagetables: Use DEFINE_SHOW_ATTRIBUTE()

Use DEFINE_SHOW_ATTRIBUTE() instead of open coding it.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Dave Hansen <dave.hansen@linux.intel.com>
Cc: keescook@chromium.org
Cc: luto@kernel.org
Cc: peterz@infradead.org
Cc: bp@alien8.de
Cc: hpa@zytor.com
Link: https://lkml.kernel.org/r/20181119154334.18265-1-tiny.windzz@gmail.com
arch/x86/mm/debug_pagetables.c