aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-07-22 22:11:56 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-07-22 22:11:56 +0200
commit3427616b2a5aa7f34716278aa6a140378a00a36e (patch)
treea3114460360d4b40fa4becf844d206333c402cdf /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parentb2f8dc4ce6626e25b164e29cf72b70230a1f1711 (diff)
cpufreq: acpi-cpufreq: Drop acpi_data from struct acpi_cpufreq_data
After commit 8cfcfd39000d (acpi-cpufreq: Fix an ACPI perf unregister issue) we store both a pointer to per-CPU data of the first policy CPU and the number of that CPU which are redundant. Since the CPU number has to be stored anyway for the unregistration, the pointer to the CPU's per-CPU data may be dropped and we can access the data in question via per_cpu_ptr(). Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
0 files changed, 0 insertions, 0 deletions