From: Andrew Morton - I don't think those sybols are needed in modules. - Document total_sleep_time units (would have been better to call it total_sleep_time_secs, perhaps). Cc: John Stultz Cc: Tomas Janousek Cc: Tomas Smetana Signed-off-by: Andrew Morton --- kernel/time/timekeeping.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff -puN kernel/time/timekeeping.c~introduce-boot-based-time-fix kernel/time/timekeeping.c --- a/kernel/time/timekeeping.c~introduce-boot-based-time-fix +++ a/kernel/time/timekeeping.c @@ -46,7 +46,7 @@ EXPORT_SYMBOL(xtime_lock); */ struct timespec xtime __attribute__ ((aligned (16))); struct timespec wall_to_monotonic __attribute__ ((aligned (16))); -static unsigned long total_sleep_time; +static unsigned long total_sleep_time; /* seconds */ EXPORT_SYMBOL(xtime); @@ -505,8 +505,6 @@ void getboottime(struct timespec *ts) - wall_to_monotonic.tv_nsec); } -EXPORT_SYMBOL(getboottime); - /** * monotonic_to_bootbased - Convert the monotonic time to boot based. * @ts: pointer to the timespec to be converted @@ -515,5 +513,3 @@ void monotonic_to_bootbased(struct times { ts->tv_sec += total_sleep_time; } - -EXPORT_SYMBOL(monotonic_to_bootbased); _