diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-07-12 10:41:48 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-07-12 10:41:48 +0100 |
commit | 049723c0de31720f8313ccf9a9c94d1f71e26583 (patch) | |
tree | ff26313ed73fb95acd1fec69c3487548cc2fdc4c /xen/arch/x86/hpet.c | |
parent | 827f7fe627dafbb217c6b361314733f3f84da732 (diff) | |
download | xen-049723c0de31720f8313ccf9a9c94d1f71e26583.tar.gz xen-049723c0de31720f8313ccf9a9c94d1f71e26583.tar.bz2 xen-049723c0de31720f8313ccf9a9c94d1f71e26583.zip |
x86/cpufreq: pass pointers to cpu masks where possible
This includes replacing the bogus definition of cpumask_test_cpu()
(introduced by c/s 20073) with a Linux compatible one and replacing
the bad uses with cpu_isset().
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/arch/x86/hpet.c')
-rw-r--r-- | xen/arch/x86/hpet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/hpet.c b/xen/arch/x86/hpet.c index 4d9d5a1b61..addabc7e1e 100644 --- a/xen/arch/x86/hpet.c +++ b/xen/arch/x86/hpet.c @@ -210,7 +210,7 @@ again: { write_lock_irq(&ch->cpumask_lock); - if ( cpumask_test_cpu(cpu, ch->cpumask) ) + if ( cpu_isset(cpu, ch->cpumask) ) { if ( per_cpu(timer_deadline_start, cpu) <= now ) cpu_set(cpu, mask); |