Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • X xcap-capability-linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • 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
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • xcap
  • xcap-capability-linux
  • Repository
Switch branch/tag
  • xcap-capability-linux
  • arch
  • powerpc
  • kernel
  • cputable.c
Find file BlameHistoryPermalink
  • Benjamin Herrenschmidt's avatar
    powerpc: Pass the right cpu_spec to ->setup_cpu() on 64-bit · af9eef3c
    Benjamin Herrenschmidt authored Jan 20, 2011
    
    
    When calling setup_cpu() on 64-bit, we pass a pointer to the
    cputable entry we have found. This used to be fine when cur_cpu_spec
    was a pointer to that entry, but nowadays, we copy the entry into
    a separate variable, and we do so before we call the setup_cpu()
    callback. That means that any attempt by that callback at patching
    the CPU table entry (to adjust CPU features for example) will patch
    the wrong table.
    Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
    af9eef3c