From: Adrian Bunk - remove the no longer required __attribute__((weak)) of xtime_lock - remove the following no longer used EXPORT_SYMBOL's: - xtime - xtime_lock Signed-off-by: Adrian Bunk Cc: Thomas Gleixner Cc: john stultz Signed-off-by: Andrew Morton --- include/linux/time.h | 2 +- kernel/time/timekeeping.c | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff -puN include/linux/time.h~kernel-time-timekeepingc-cleanups include/linux/time.h --- a/include/linux/time.h~kernel-time-timekeepingc-cleanups +++ a/include/linux/time.h @@ -92,7 +92,7 @@ static inline struct timespec timespec_s extern struct timespec xtime; extern struct timespec wall_to_monotonic; -extern seqlock_t xtime_lock __attribute__((weak)); +extern seqlock_t xtime_lock; extern unsigned long read_persistent_clock(void); extern int update_persistent_clock(struct timespec now); diff -puN kernel/time/timekeeping.c~kernel-time-timekeepingc-cleanups kernel/time/timekeeping.c --- a/kernel/time/timekeeping.c~kernel-time-timekeepingc-cleanups +++ a/kernel/time/timekeeping.c @@ -24,9 +24,7 @@ * This read-write spinlock protects us from races in SMP while * playing with xtime and avenrun. */ -__attribute__((weak)) __cacheline_aligned_in_smp DEFINE_SEQLOCK(xtime_lock); - -EXPORT_SYMBOL(xtime_lock); +__cacheline_aligned_in_smp DEFINE_SEQLOCK(xtime_lock); /* @@ -47,7 +45,6 @@ EXPORT_SYMBOL(xtime_lock); struct timespec xtime __attribute__ ((aligned (16))); struct timespec wall_to_monotonic __attribute__ ((aligned (16))); static unsigned long total_sleep_time; /* seconds */ -EXPORT_SYMBOL(xtime); #ifdef CONFIG_NO_HZ _