summaryrefslogtreecommitdiffstats
path: root/src/arch/x86/core/rdtsc_timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/core/rdtsc_timer.c')
-rw-r--r--src/arch/x86/core/rdtsc_timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/core/rdtsc_timer.c b/src/arch/x86/core/rdtsc_timer.c
index ed515150..bee5f1ca 100644
--- a/src/arch/x86/core/rdtsc_timer.c
+++ b/src/arch/x86/core/rdtsc_timer.c
@@ -132,7 +132,7 @@ static int rdtsc_probe ( void ) {
strerror ( rc ) );
return rc;
}
- cpuid ( CPUID_APM, &discard_a, &discard_b, &discard_c, &apm );
+ cpuid ( CPUID_APM, 0, &discard_a, &discard_b, &discard_c, &apm );
if ( ! ( apm & CPUID_APM_EDX_TSC_INVARIANT ) ) {
DBGC ( colour, "RDTSC has non-invariant TSC (%#08x)\n",
apm );