OSDN Git Service

KVM: x86/mmu: Add '__func__' in rmap_printk()
authorStephen Zhang <stephenzhangzsd@gmail.com>
Wed, 27 Jan 2021 02:08:45 +0000 (10:08 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 4 Feb 2021 10:27:36 +0000 (05:27 -0500)
commit805a0f83907cface14897ada15b61190f3bc2962
tree45af18b4bf96e6d3e3f53c7275f3f29e97f08c4e
parent04548ed0206ca895c8edd6a078c20a218423890b
KVM: x86/mmu: Add '__func__' in rmap_printk()

Given the common pattern:

rmap_printk("%s:"..., __func__,...)

we could improve this by adding '__func__' in rmap_printk().

Signed-off-by: Stephen Zhang <stephenzhangzsd@gmail.com>
Message-Id: <1611713325-3591-1-git-send-email-stephenzhangzsd@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c
arch/x86/kvm/mmu/mmu_internal.h