|
@@ -38,15 +38,6 @@ unsigned long ccount_nsec; /* nsec per ccount increment */
|
|
unsigned int last_ccount_stamp;
|
|
unsigned int last_ccount_stamp;
|
|
static long last_rtc_update = 0;
|
|
static long last_rtc_update = 0;
|
|
|
|
|
|
-/*
|
|
|
|
- * Scheduler clock - returns current tim in nanosec units.
|
|
|
|
- */
|
|
|
|
-
|
|
|
|
-unsigned long long sched_clock(void)
|
|
|
|
-{
|
|
|
|
- return (unsigned long long)jiffies * (1000000000 / HZ);
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
static irqreturn_t timer_interrupt(int irq, void *dev_id);
|
|
static irqreturn_t timer_interrupt(int irq, void *dev_id);
|
|
static struct irqaction timer_irqaction = {
|
|
static struct irqaction timer_irqaction = {
|
|
.handler = timer_interrupt,
|
|
.handler = timer_interrupt,
|