CHROMIUM: kvm: Don't call vir_suspend_time function without config
This is a follow-up of https://crrev.com/c/3270231 . We need to hide the call of timekeeping_inject_virtual_suspend_time() behind CONFIG_KVM_VIRT_SUSPEND_TIMING_GUEST. Otherwise, the build fails without the config. Signed-off-by:Keiichi Watanabe <keiichiw@chromium.org> BUG=b:285259853 TEST=compile without CONFIG_KVM_VIRT_SUSPEND_TIMING_GUEST Change-Id: Id63d2d138f9c2ada964cda5bc4ea530a00f4c38b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/4573275 Reviewed-by:
Hikaru Nishida <hikalium@chromium.org> Tested-by:
Keiichi Watanabe <keiichiw@chromium.org> Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org>
Loading
Please sign in to comment