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
  • include
  • linux
  • kvm_host.h
Find file BlameHistoryPermalink
  • Kevin Hilman's avatar
    KVM: allow host header to be included even for !CONFIG_KVM · f445f11e
    Kevin Hilman authored Mar 14, 2013
    
    
    The new context tracking subsystem unconditionally includes kvm_host.h
    headers for the guest enter/exit macros.  This causes a compile
    failure when KVM is not enabled.
    
    Fix by adding an IS_ENABLED(CONFIG_KVM) check to kvm_host so it can
    be included/compiled even when KVM is not enabled.
    
    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    Signed-off-by: default avatarKevin Hilman <khilman@linaro.org>
    Signed-off-by: default avatarMarcelo Tosatti <mtosatti@redhat.com>
    f445f11e
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7