mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36: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
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue