diff options
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/kernel/time.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/arm/kernel/time.c b/arch/arm/kernel/time.c index 3c8cdcfe8d4a..ee47c532e210 100644 --- a/arch/arm/kernel/time.c +++ b/arch/arm/kernel/time.c | |||
@@ -78,16 +78,6 @@ static unsigned long dummy_gettimeoffset(void) | |||
78 | #endif | 78 | #endif |
79 | 79 | ||
80 | /* | 80 | /* |
81 | * Scheduler clock - returns current time in nanosec units. | ||
82 | * This is the default implementation. Sub-architecture | ||
83 | * implementations can override this. | ||
84 | */ | ||
85 | unsigned long long __attribute__((weak)) sched_clock(void) | ||
86 | { | ||
87 | return (unsigned long long)jiffies * (1000000000 / HZ); | ||
88 | } | ||
89 | |||
90 | /* | ||
91 | * An implementation of printk_clock() independent from | 81 | * An implementation of printk_clock() independent from |
92 | * sched_clock(). This avoids non-bootable kernels when | 82 | * sched_clock(). This avoids non-bootable kernels when |
93 | * printk_clock is enabled. | 83 | * printk_clock is enabled. |