Commit 6ddf8dd5 authored by Keiichi Watanabe's avatar Keiichi Watanabe Committed by Chromeos LUCI
Browse files

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: default avatarKeiichi 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: default avatarHikaru Nishida <hikalium@chromium.org>
Tested-by: default avatarKeiichi Watanabe <keiichiw@chromium.org>
Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org>
parent 5deb2eda
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment