aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/oprofile
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-10-28 10:35:15 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-10-28 10:35:15 +0000
commitdf7542541e4e591e2b29a26a671b3e08b0965056 (patch)
treee9f6de4963f7895d7c8aa3267173bb2b313df985 /xen/arch/x86/oprofile
parent7a0db9514bfd797ebc59ae79cb167c43048f1b95 (diff)
downloadxen-df7542541e4e591e2b29a26a671b3e08b0965056.tar.gz
xen-df7542541e4e591e2b29a26a671b3e08b0965056.tar.bz2
xen-df7542541e4e591e2b29a26a671b3e08b0965056.zip
xenoprof: Small fixes.
Signed-off-by: Ronghui Duan <ronghui.duan@intel.com> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/arch/x86/oprofile')
-rw-r--r--xen/arch/x86/oprofile/op_model_ppro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/oprofile/op_model_ppro.c b/xen/arch/x86/oprofile/op_model_ppro.c
index 847b063d12..90b5d2887a 100644
--- a/xen/arch/x86/oprofile/op_model_ppro.c
+++ b/xen/arch/x86/oprofile/op_model_ppro.c
@@ -121,7 +121,7 @@ static int ppro_check_ctrs(unsigned int const cpu,
{
if ( IS_ACTIVE(msrs_content[i].control) )
{
- msrs_content[i].counter = (low | (unsigned long)high << 32);
+ msrs_content[i].counter = (low | (u64)high << 32);
if ( IS_ENABLE(msrs_content[i].control) )
ovf = 2;
}