Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ipipe-ppc32
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomaixenomai
  • ipipe-ppc32
  • Repository
Switch branch/tag
  • ipipe-ppc32
  • drivers
  • cpufreq
  • cpufreq.c
Find file BlameHistoryPermalink
  • Viresh Kumar's avatar
    cpufreq: create cpu/cpufreq/policyX directories · 96bdda61
    Viresh Kumar authored Oct 15, 2015
    
    
    The cpufreq sysfs interface had been a bit inconsistent as one of the
    CPUs for a policy had a real directory within its sysfs 'cpuX' directory
    and all other CPUs had links to it. That also made the code a bit
    complex as we need to take care of moving the sysfs directory if the CPU
    containing the real directory is getting physically hot-unplugged.
    
    Solve this by creating 'policyX' directories (per-policy) in
    /sys/devices/system/cpu/cpufreq/ directory, where X is the CPU for which
    the policy was first created.
    
    This also removes the need of keeping kobj_cpu and we can remove it now.
    
    Suggested-by: default avatarSaravana Kannan <skannan@codeaurora.org>
    Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
    Reviewed-by: default avatarSaravana Kannan <skannan@codeaurora.org>
    Acked-by: is more of a general agreement from the person that he is
    Reviewed-by: is a more strict tag and implies that the reviewer has
    Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
    96bdda61

Imprint & Privacy Policy