mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-08 14:23:19 +00:00
[PATCH] Add missing export of getnstimeofday()
Adds the missing EXPORT_SYMBOL_GPL for getnstimeofday() when CONFIG_TIME_INTERPOLATION isn't set. Needed by drivers/char/mmtimer.c Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
65d406ace3
commit
c6ecf7ed31
@ -570,6 +570,7 @@ void getnstimeofday(struct timespec *tv)
|
|||||||
tv->tv_sec = x.tv_sec;
|
tv->tv_sec = x.tv_sec;
|
||||||
tv->tv_nsec = x.tv_usec * NSEC_PER_USEC;
|
tv->tv_nsec = x.tv_usec * NSEC_PER_USEC;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(getnstimeofday);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (BITS_PER_LONG < 64)
|
#if (BITS_PER_LONG < 64)
|
||||||
|
Loading…
Reference in New Issue
Block a user