commit | b8a4754147d61f5359a765a3afd3eb03012aa052 | [log] [tgz] |
---|---|---|
author | Borislav Petkov <borislav.petkov@amd.com> | Thu Jul 30 11:10:02 2009 +0200 |
committer | Ingo Molnar <mingo@elte.hu> | Tue Sep 15 09:15:54 2009 +0200 |
tree | 96cafcc008b5367810adbaa2d3d501210568be84 | |
parent | 0cc6d77e55eca9557bbe41bf2db94b31aa8fcb2a [diff] |
x86, msr: Unify rdmsr_on_cpus/wrmsr_on_cpus Since rdmsr_on_cpus and wrmsr_on_cpus are almost identical, unify them into a common __rwmsr_on_cpus helper thus avoiding code duplication. While at it, convert cpumask_t's to const struct cpumask *. Signed-off-by: Borislav Petkov <borislav.petkov@amd.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>