aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
diff options
context:
space:
mode:
authorVitaly Kuznetsov <[email protected]>2021-05-13 07:32:46 +0000
committerThomas Gleixner <[email protected]>2021-05-14 12:55:13 +0000
commit3486d2c9be652a31033363bdd50391b0c8a8fe21 (patch)
tree5260971f4242bc57e2046898d0fd06298d453361 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
parentalarmtimer: Check RTC features instead of ops (diff)
downloadkernel-3486d2c9be652a31033363bdd50391b0c8a8fe21.tar.gz
kernel-3486d2c9be652a31033363bdd50391b0c8a8fe21.zip
clocksource/drivers/hyper-v: Re-enable VDSO_CLOCKMODE_HVCLOCK on X86
Mohammed reports (https://bugzilla.kernel.org/show_bug.cgi?id=213029) the commit e4ab4658f1cf ("clocksource/drivers/hyper-v: Handle vDSO differences inline") broke vDSO on x86. The problem appears to be that VDSO_CLOCKMODE_HVCLOCK is an enum value in 'enum vdso_clock_mode' and '#ifdef VDSO_CLOCKMODE_HVCLOCK' branch evaluates to false (it is not a define). Use a dedicated HAVE_VDSO_CLOCKMODE_HVCLOCK define instead. Fixes: e4ab4658f1cf ("clocksource/drivers/hyper-v: Handle vDSO differences inline") Reported-by: Mohammed Gamal <[email protected]> Suggested-by: Thomas Gleixner <[email protected]> Signed-off-by: Vitaly Kuznetsov <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Michael Kelley <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions