diff options
author | Saravana Kannan <skannan@codeaurora.org> | 2015-05-18 10:43:31 +0530 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-05-23 00:49:04 +0200 |
commit | 9d16f207112f77711600fb0770182a06e056e5de (patch) | |
tree | 967e04e818d6a0bc919d72c764cd57af60dc7b85 /include/linux/cpufreq.h | |
parent | 58405af6321a6d69de838f7a2d3115b85c987416 (diff) | |
download | talos-obmc-linux-9d16f207112f77711600fb0770182a06e056e5de.tar.gz talos-obmc-linux-9d16f207112f77711600fb0770182a06e056e5de.zip |
cpufreq: Track cpu managing sysfs kobjects separately
In order to prepare for the next few commits, that will stop migrating
sysfs files on cpu hotplug, this patch starts managing sysfs-cpu
separately.
The behavior is still the same as we are still migrating sysfs files on
hotplug, later commits would change that.
Signed-off-by: Saravana Kannan <skannan@codeaurora.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/cpufreq.h')
-rw-r--r-- | include/linux/cpufreq.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h index 48e37c07eb84..29ad97c34fd5 100644 --- a/include/linux/cpufreq.h +++ b/include/linux/cpufreq.h @@ -65,7 +65,9 @@ struct cpufreq_policy { unsigned int shared_type; /* ACPI: ANY or ALL affected CPUs should set cpufreq */ - unsigned int cpu; /* cpu nr of CPU managing this policy */ + unsigned int cpu; /* cpu managing this policy, must be online */ + unsigned int kobj_cpu; /* cpu managing sysfs files, can be offline */ + struct clk *clk; struct cpufreq_cpuinfo cpuinfo;/* see above */ |