diff options
author | Jan Beulich <jbeulich@novell.com> | 2011-03-12 13:20:51 +0000 |
---|---|---|
committer | Jan Beulich <jbeulich@novell.com> | 2011-03-12 13:20:51 +0000 |
commit | 418df701ce4ee54e2ecd5a33f8aa3340ac468e2d (patch) | |
tree | b648a16fb6790c42c69af13536e5147f711f060a /tools/flask/libflask | |
parent | a03ac7d945f06fa65eb474ba570c253caf9f7567 (diff) | |
download | xen-418df701ce4ee54e2ecd5a33f8aa3340ac468e2d.tar.gz xen-418df701ce4ee54e2ecd5a33f8aa3340ac468e2d.tar.bz2 xen-418df701ce4ee54e2ecd5a33f8aa3340ac468e2d.zip |
x86/HPET: adjust types
'unsigned int' is better suited as an array index on x86-64.
'u32' produces better code than 'unsigned long' on x86-64, so use the
former for storing 32-bit values read from the hardware.
this_cpu() uses an implicit smp_processor_id(), and hence using
per_cpu() when the result of smp_processor_id() is already available
is more efficient.
Fold one case of cpu_isset()+cpu_clear() into cpu_test_and_clear().
Drop the unused return value of evt_do_broadcast().
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Acked-by: Wei Gang <gang.wei@intel.com>
Diffstat (limited to 'tools/flask/libflask')
0 files changed, 0 insertions, 0 deletions