aboutsummaryrefslogtreecommitdiffstats
path: root/tools/check/check_crypto_lib
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-03-26 08:49:13 +0000
committerKeir Fraser <keir.fraser@citrix.com>2010-03-26 08:49:13 +0000
commit56d00aa7945e01291b40d05c60dde4b4dab0ce4c (patch)
treebeae702e214ed35a09538e4fee993d5ed8ad23d5 /tools/check/check_crypto_lib
parentb8352255b3eac73ab2f15874575613603aa2e9c0 (diff)
downloadxen-56d00aa7945e01291b40d05c60dde4b4dab0ce4c.tar.gz
xen-56d00aa7945e01291b40d05c60dde4b4dab0ce4c.tar.bz2
xen-56d00aa7945e01291b40d05c60dde4b4dab0ce4c.zip
cpufreq: fix statistic lock problem
cpufreq_statistic_lock should not only protect the statistic memory pointed by cpufreq_statistic_data[cpu], but also have to protect the pointer in cpufreq_statistic_data[cpu] itself. So move the read operation of cpufreq_statistic_data[cpu] after spin_lock(cpufreq_statistic_lock). Signed-off-by: Wei Gang <gang.wei@intel.com>
Diffstat (limited to 'tools/check/check_crypto_lib')
0 files changed, 0 insertions, 0 deletions