Skip to contentSkip to conversation

Add missing export of getnstimeofday()

PATCH New Takashi Iwai 1 participant 1 message Oct 6, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add missing export of getnstimeofday()

Adds the missing EXPORT_SYMBOL_GPL for getnstimeofday() when CONFIG_TIME_INTERPOLATION isn't set.

---

kernel/time.c +1 -0
@@ -570,6 +570,7 @@ void getnstimeofday(struct timespec *tv)
 	tv->tv_sec = x.tv_sec;
 	tv->tv_nsec = x.tv_usec * NSEC_PER_USEC;
 }
+EXPORT_SYMBOL_GPL(getnstimeofday);
 #endif
 
 #if (BITS_PER_LONG < 64)