search for: tsc_parse

Displaying 1 result from an estimated 1 matches for "tsc_parse".

Did you mean: ts_parse
2010 Dec 14
0
[PATCH 1/5] vtdt: Define a new function gtsc_to_gtime()
...me. Fix the typo in gtime_to_gtsc() definition. Signed-off-by: Wei Gang <gang.wei@intel.com> diff -r 373b7357d977 xen/arch/x86/time.c --- a/xen/arch/x86/time.c Thu Dec 09 22:32:43 2010 +0800 +++ b/xen/arch/x86/time.c Thu Dec 09 22:32:51 2010 +0800 @@ -1634,11 +1634,20 @@ static void __init tsc_parse(const char } custom_param("tsc", tsc_parse); -u64 gtime_to_gtsc(struct domain *d, u64 tsc) +u64 gtime_to_gtsc(struct domain *d, u64 time) { if ( !is_hvm_domain(d) ) - tsc = max_t(s64, tsc - d->arch.vtsc_offset, 0); - return scale_delta(tsc, &d->arch.ns_to_vt...