diff options
author | Jan Beulich <jbeulich@novell.com> | 2011-03-25 09:03:17 +0000 |
---|---|---|
committer | Jan Beulich <jbeulich@novell.com> | 2011-03-25 09:03:17 +0000 |
commit | 662f524483de23084ae4dde930fa7570fb15e033 (patch) | |
tree | a6c21f8f4148c64c55614aa8c261fb96f8c1cc96 /tools/libxen | |
parent | 76fb24cd13ea2bb5e5c10ab6ecea857196666ffd (diff) | |
download | xen-662f524483de23084ae4dde930fa7570fb15e033.tar.gz xen-662f524483de23084ae4dde930fa7570fb15e033.tar.bz2 xen-662f524483de23084ae4dde930fa7570fb15e033.zip |
x86/hpet: eliminate cpumask_lock
According to the (now getting removed) comment in struct
hpet_event_channel, this was to prevent accessing a CPU's
timer_deadline after it got cleared from cpumask. This can be done
without a lock altogether - hpet_broadcast_exit() can simply clear
the bit, and handle_hpet_broadcast() can read timer_deadline before
looking at the mask a second time (the cpumask bit was already
found set by the surrounding loop).
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Acked-by: Gang Wei <gang.wei@intel.com>
Diffstat (limited to 'tools/libxen')
0 files changed, 0 insertions, 0 deletions