KVM: PPC: Book3S HV: Change to use DEFINE_SHOW_ATTRIBUTE macro
authorYangtao Li <tiny.windzz@gmail.com>
Mon, 5 Nov 2018 14:47:17 +0000 (09:47 -0500)
committerPaul Mackerras <paulus@ozlabs.org>
Fri, 14 Dec 2018 04:39:47 +0000 (15:39 +1100)
commit0f6ddf34be2a2076bfa7b049c2d270fdda19fa19
tree6ddd4713296b24e35396ef5a6bfaf30a41899c9c
parent234ff0b729ad882d20f7996591a964965647addf
KVM: PPC: Book3S HV: Change to use DEFINE_SHOW_ATTRIBUTE macro

Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
arch/powerpc/kvm/book3s_xics.c
arch/powerpc/kvm/book3s_xive.c