diff options
Diffstat (limited to 'arch/xtensa')
-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 a350431363a0..22949be4a5d8 100644 --- a/arch/xtensa/kernel/time.c +++ b/arch/xtensa/kernel/time.c | |||
@@ -38,15 +38,6 @@ unsigned long ccount_nsec; /* nsec per ccount increment */ | |||
38 | unsigned int last_ccount_stamp; | 38 | unsigned int last_ccount_stamp; |
39 | static long last_rtc_update = 0; | 39 | static long last_rtc_update = 0; |
40 | 40 | ||
41 | /* | ||
42 | * Scheduler clock - returns current tim in nanosec units. | ||
43 | */ | ||
44 | |||
45 | unsigned long long sched_clock(void) | ||
46 | { | ||
47 | return (unsigned long long)jiffies * (1000000000 / HZ); | ||
48 | } | ||
49 | |||
50 | static irqreturn_t timer_interrupt(int irq, void *dev_id); | 41 | static irqreturn_t timer_interrupt(int irq, void *dev_id); |
51 | static struct irqaction timer_irqaction = { | 42 | static struct irqaction timer_irqaction = { |
52 | .handler = timer_interrupt, | 43 | .handler = timer_interrupt, |