Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • drivers
  • clocksource
  • hyperv_timer.c
Find file BlameHistoryPermalink
  • Vitaly Kuznetsov's avatar
    clocksource/drivers/hyper-v: Re-enable VDSO_CLOCKMODE_HVCLOCK on X86 · 3486d2c9
    Vitaly Kuznetsov authored May 13, 2021
    Mohammed reports (https://bugzilla.kernel.org/show_bug.cgi?id=213029)
    the commit e4ab4658 ("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: e4ab4658
    
     ("clocksource/drivers/hyper-v: Handle vDSO differences inline")
    Reported-by: default avatarMohammed Gamal <mgamal@redhat.com>
    Suggested-by: default avatarThomas Gleixner <tglx@linutronix.de>
    Signed-off-by: default avatarVitaly Kuznetsov <vkuznets@redhat.com>
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    Reviewed-by: default avatarMichael Kelley <mikelley@microsoft.com>
    Link: https://lore.kernel.org/r/20210513073246.1715070-1-vkuznets@redhat.com
    3486d2c9
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7