OSDN Git Service

x86/kvm: Always inline vmload() / vmsave()
authorPeter Zijlstra <peterz@infradead.org>
Thu, 24 Jun 2021 09:41:04 +0000 (11:41 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 15 Sep 2021 13:51:45 +0000 (15:51 +0200)
commita168233a440d01d60ca65ea41e876661466f108b
tree63380c6e05b4f065711b8862aa8b9dc0792864b9
parent2b2f72d4d81936bc08c18c426f40b7df70e2f8e7
x86/kvm: Always inline vmload() / vmsave()

vmlinux.o: warning: objtool: svm_vcpu_enter_exit()+0xea: call to vmload() leaves .noinstr.text section
vmlinux.o: warning: objtool: svm_vcpu_enter_exit()+0x133: call to vmsave() leaves .noinstr.text section

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20210624095147.942250748@infradead.org
arch/x86/kvm/svm/svm_ops.h