diff options
author | Len Brown <len.brown@intel.com> | 2013-01-31 19:55:37 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2013-02-01 16:16:22 -0500 |
commit | b1beab48f6148d50fee4a56d741cc3168fe1b995 (patch) | |
tree | 3c6078f3bfa720a70833eb3536c19f16c9b0d8e1 /lib/devres.c | |
parent | 88b62b915b0b7e25870eb0604ed9a92ba4bfc9f7 (diff) |
intel_idle: stop using driver_data for static flags
The commit, 4202735e8ab6ecfb0381631a0d0b58fefe0bd4e2
(cpuidle: Split cpuidle_state structure and move per-cpu statistics fields)
observed that the MWAIT flags for Cn on every processor to date were the
same, and created get_driver_data() to supply them.
Unfortunately, that assumption is false, going forward.
So here we restore the MWAIT flags to the cpuidle_state table.
However, instead restoring the old "driver_data" field,
we put the flags into the existing "flags" field,
where they probalby should have lived all along.
This patch does not change any operation.
This patch removes 1 of the 3 users of cpuidle_state_usage.driver_data.
Perhaps some day we'll get rid of the other 2.
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'lib/devres.c')
0 files changed, 0 insertions, 0 deletions