diff options
Diffstat (limited to 'kernel/sched_clock.c')
-rw-r--r-- | kernel/sched_clock.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/kernel/sched_clock.c b/kernel/sched_clock.c index 1eeaf747e56..e17ec398aa1 100644 --- a/kernel/sched_clock.c +++ b/kernel/sched_clock.c @@ -67,18 +67,6 @@ #include <linux/ktime.h> #include <linux/sched.h> -/* - * Scheduler clock - returns current time in nanosec units. - * This is default implementation. - * Architectures and sub-architectures can override this. - */ -unsigned long long __attribute__((weak)) sched_clock(void) -{ - return (unsigned long long)(jiffies - INITIAL_JIFFIES) - * (NSEC_PER_SEC / HZ); -} -EXPORT_SYMBOL_GPL(sched_clock); - __read_mostly int sched_clock_running; #ifdef CONFIG_HAVE_UNSTABLE_SCHED_CLOCK |