Skip to content

Commit

Permalink
[PATCH] Add missing export of getnstimeofday()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
tiwai authored and Linus Torvalds committed Oct 15, 2005
1 parent 65d406a commit c6ecf7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/time.c
Expand Up @@ -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)
Expand Down

0 comments on commit c6ecf7e

Please sign in to comment.