aboutsummaryrefslogtreecommitdiffstats
path: root/tools/flask/libflask
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2011-03-12 13:20:51 +0000
committerJan Beulich <jbeulich@novell.com>2011-03-12 13:20:51 +0000
commit418df701ce4ee54e2ecd5a33f8aa3340ac468e2d (patch)
treeb648a16fb6790c42c69af13536e5147f711f060a /tools/flask/libflask
parenta03ac7d945f06fa65eb474ba570c253caf9f7567 (diff)
downloadxen-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