Merge branch 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm
[cascardo/linux.git] / arch / arm / kernel / vdso.c
index bbbffe9..53cf86c 100644 (file)
@@ -271,7 +271,7 @@ static bool tk_is_cntvct(const struct timekeeper *tk)
        if (!IS_ENABLED(CONFIG_ARM_ARCH_TIMER))
                return false;
 
-       if (strcmp(tk->tkr_mono.clock->name, "arch_sys_counter") != 0)
+       if (!tk->tkr_mono.clock->archdata.vdso_direct)
                return false;
 
        return true;