/* Ripped from linux/time.h because it's a kernel header, and thus unusable from here.  */
static long long timeval_to_ns(const struct timeval *tv)
/* Ripped from linux/time.h because it's a kernel header, and thus unusable from here.  */
static long long timeval_to_ns(const struct timeval *tv)
{
	return ((long long) tv->tv_sec * UM_NSEC_PER_SEC) +
		tv->tv_usec * UM_NSEC_PER_USEC;
}