On Fri, 2026-05-15 at 12:19 -0700, Sean Christopherson wrote: > Move kvm_sched_clock_init() "down" so that it can reference the global > kvm_clock structure without needing a forward declaration. > > Opportunistically mark the helper as "__init" instead of "inline" to make > its usage more obvious; modern compilers don't need a hint to inline a > single-use function, and an extra CALL+RET pair during boot is a complete > non-issue. And, if the compiler ignores the hint and does NOT inline the > function, the resulting code may not get discarded after boot due lack of > an __init annotation. > > No functional change intended. > > Signed-off-by: Sean Christopherson <[email protected]>
Reviewed-by: David Woodhouse <[email protected]>
smime.p7s
Description: S/MIME cryptographic signature

