MIPS: VDSO: Add implementations of gettimeofday() and clock_gettime()
[firefly-linux-kernel-4.4.55.git] / arch / mips / Kconfig
index 9322d267e774ecf4d1167b5a833aaa7c7e278a47..2f45c866e7ca12dae7e06352ab5274f52587c850 100644 (file)
@@ -61,6 +61,8 @@ config MIPS
        select SYSCTL_EXCEPTION_TRACE
        select HAVE_VIRT_CPU_ACCOUNTING_GEN
        select HAVE_IRQ_TIME_ACCOUNTING
+       select GENERIC_TIME_VSYSCALL
+       select ARCH_CLOCKSOURCE_DATA
 
 menu "Machine selection"
 
@@ -1040,6 +1042,9 @@ config CSRC_R4K
 config CSRC_SB1250
        bool
 
+config MIPS_CLOCK_VSYSCALL
+       def_bool CSRC_R4K || CLKSRC_MIPS_GIC
+
 config GPIO_TXX9
        select ARCH_REQUIRE_GPIOLIB
        bool