summaryrefslogtreecommitdiff
path: root/lib/memcpy_kunit.c
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2024-06-17 08:51:14 -0700
committerNeeraj Upadhyay <neeraj.upadhyay@kernel.org>2024-08-15 21:30:43 +0530
commit4040b1139904b3f72b56862fc9a8d3e9abb69ffb (patch)
tree03a74c5ed0616fafa21792e557b835be96458bcb /lib/memcpy_kunit.c
parent4f336dc07eceb77d2164bc1121a5ae6003b19f55 (diff)
context_tracking: Tag context_tracking_enabled_this_cpu() __always_inline
Force context_tracking_enabled_this_cpu() to be inlined so that invoking it from guest_context_enter_irqoff(), which KVM uses in non-instrumentable code, doesn't unexpectedly leave a noinstr section. vmlinux.o: warning: objtool: vmx_vcpu_enter_exit+0x1c7: call to context_tracking_enabled_this_cpu() leaves .noinstr.text section vmlinux.o: warning: objtool: svm_vcpu_enter_exit+0x83: call to context_tracking_enabled_this_cpu() leaves .noinstr.text section Note, the CONFIG_CONTEXT_TRACKING_USER=n stub is already __always_inline. Signed-off-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Signed-off-by: Neeraj Upadhyay <neeraj.upadhyay@kernel.org>
Diffstat (limited to 'lib/memcpy_kunit.c')
0 files changed, 0 insertions, 0 deletions