We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7e2225d + 431ceb8 commit fafa3a3Copy full SHA for fafa3a3
arch/x86/kernel/tsc.c
@@ -358,13 +358,15 @@ static cycle_t read_tsc(void)
358
ret : clocksource_tsc.cycle_last;
359
}
360
361
+#ifdef CONFIG_X86_64
362
static cycle_t __vsyscall_fn vread_tsc(void)
363
{
364
cycle_t ret = (cycle_t)vget_cycles();
365
366
return ret >= __vsyscall_gtod_data.clock.cycle_last ?
367
ret : __vsyscall_gtod_data.clock.cycle_last;
368
369
+#endif
370
371
static struct clocksource clocksource_tsc = {
372
.name = "tsc",
0 commit comments