summaryrefslogtreecommitdiff
path: root/arch/mips/vdso/vdso.lds.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/vdso/vdso.lds.S')
-rw-r--r--arch/mips/vdso/vdso.lds.S4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/mips/vdso/vdso.lds.S b/arch/mips/vdso/vdso.lds.S
index da4627430aba..836465e3bcb8 100644
--- a/arch/mips/vdso/vdso.lds.S
+++ b/arch/mips/vdso/vdso.lds.S
@@ -91,10 +91,12 @@ PHDRS
VERSION
{
LINUX_2.6 {
-#ifndef DISABLE_MIPS_VDSO
+#ifndef CONFIG_MIPS_DISABLE_VDSO
global:
__vdso_clock_gettime;
+#ifdef CONFIG_MIPS_CLOCK_VSYSCALL
__vdso_gettimeofday;
+#endif
__vdso_clock_getres;
#if _MIPS_SIM != _MIPS_SIM_ABI64
__vdso_clock_gettime64;