diff options
| -rw-r--r-- | arch/xtensa/kernel/time.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/xtensa/kernel/time.c b/arch/xtensa/kernel/time.c index 8df1e842f6d4..86bfe83718e9 100644 --- a/arch/xtensa/kernel/time.c +++ b/arch/xtensa/kernel/time.c | |||
| @@ -37,15 +37,6 @@ unsigned long nsec_per_ccount; /* nsec per ccount increment */ | |||
| 37 | 37 | ||
| 38 | static long last_rtc_update = 0; | 38 | static long last_rtc_update = 0; |
| 39 | 39 | ||
| 40 | /* | ||
| 41 | * Scheduler clock - returns current tim in nanosec units. | ||
| 42 | */ | ||
| 43 | |||
| 44 | unsigned long long sched_clock(void) | ||
| 45 | { | ||
| 46 | return (unsigned long long)jiffies * (1000000000 / HZ); | ||
| 47 | } | ||
| 48 | |||
| 49 | static irqreturn_t timer_interrupt(int irq, void *dev_id); | 40 | static irqreturn_t timer_interrupt(int irq, void *dev_id); |
| 50 | static struct irqaction timer_irqaction = { | 41 | static struct irqaction timer_irqaction = { |
| 51 | .handler = timer_interrupt, | 42 | .handler = timer_interrupt, |
