Commit dba959ac authored by Dominik Brodowski's avatar Dominik Brodowski Committed by Len Brown

[ACPI] more acpi-cpufreq fixups from Dominik Brodowski

Fix a horribly wrong memcpy instruction in cpufreq_update_policy which
caused it to oops.
parent b65fa0c7
...@@ -868,7 +868,7 @@ int cpufreq_update_policy(unsigned int cpu) ...@@ -868,7 +868,7 @@ int cpufreq_update_policy(unsigned int cpu)
down(&data->lock); down(&data->lock);
memcpy(&policy, memcpy(&policy,
&data, data,
sizeof(struct cpufreq_policy)); sizeof(struct cpufreq_policy));
policy.min = data->user_policy.min; policy.min = data->user_policy.min;
policy.max = data->user_policy.max; policy.max = data->user_policy.max;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment