x86/xen: Convert to DEFINE_SHOW_ATTRIBUTE
authorQinglang Miao <miaoqinglang@huawei.com>
Thu, 17 Sep 2020 12:55:47 +0000 (20:55 +0800)
committerJuergen Gross <jgross@suse.com>
Wed, 16 Dec 2020 06:53:53 +0000 (07:53 +0100)
commite34ff4cda2322e42d4815e042d5a3b46b51c41c4
treedc0838bd1b5b20ca6d5a9095bc9a8a0b0c493ee7
parent1c728719a4da6e654afb9cc047164755072ed7c9
x86/xen: Convert to DEFINE_SHOW_ATTRIBUTE

Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code.

Signed-off-by: Qinglang Miao <miaoqinglang@huawei.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/20200917125547.104472-1-miaoqinglang@huawei.com
Signed-off-by: Juergen Gross <jgross@suse.com>
arch/x86/xen/p2m.c