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
You need to sign in or sign up before continuing.
  • linux
  • drivers
  • clocksource
  • hyperv_timer.c
Find file BlameHistoryPermalink
  • Michael Kelley's avatar
    clocksource/drivers/hyper-v: Handle sched_clock differences inline · eb3e1d37
    Michael Kelley authored Mar 02, 2021
    
    
    While the Hyper-V Reference TSC code is architecture neutral, the
    pv_ops.time.sched_clock() function is implemented for x86/x64, but not
    for ARM64. Current code calls a utility function under arch/x86 (and
    coming, under arch/arm64) to handle the difference.
    
    Change this approach to handle the difference inline based on whether
    GENERIC_SCHED_CLOCK is present.  The new approach removes code under
    arch/* since the difference is tied more to the specifics of the Linux
    implementation than to the architecture.
    
    No functional change.
    
    Signed-off-by: default avatarMichael Kelley <mikelley@microsoft.com>
    Reviewed-by: default avatarBoqun Feng <boqun.feng@gmail.com>
    Acked-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
    Link: https://lore.kernel.org/r/1614721102-2241-9-git-send-email-mikelley@microsoft.com
    
    
    Signed-off-by: default avatarWei Liu <wei.liu@kernel.org>
    eb3e1d37
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7