]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
KVM: PPC: Book3S HV: XIVE: Convert to DEFINE_SHOW_ATTRIBUTE
authorQinglang Miao <miaoqinglang@huawei.com>
Sat, 19 Sep 2020 01:29:25 +0000 (09:29 +0800)
committerPaul Mackerras <paulus@ozlabs.org>
Tue, 22 Sep 2020 01:53:55 +0000 (11:53 +1000)
commit4517076608c51c74966cf0c54bc66dada7dec223
treeefec681f78d17b0b4ff74ac25908e6ca95ce022d
parent35dfb43c243b28658ef757a2b9c6454f99cfc43c
KVM: PPC: Book3S HV: XIVE: Convert to DEFINE_SHOW_ATTRIBUTE

Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code.

Signed-off-by: Qinglang Miao <miaoqinglang@huawei.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
arch/powerpc/kvm/book3s_xive_native.c