Skip to content

Commit

Permalink
xtensa: use generic sched_clock()
Browse files Browse the repository at this point in the history
Current xtensa implementation of sched_clock() is the same as the
generic one.  Just remove it, the weak symbol in kernel/sched_clock.c
will be used instead.

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Chris Zankel <chris@zankel.net>
  • Loading branch information
Johannes Weiner authored and Chris Zankel committed Apr 3, 2009
1 parent f82e939 commit 90be8c1
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions arch/xtensa/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,6 @@ unsigned long nsec_per_ccount; /* nsec per ccount increment */

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 struct irqaction timer_irqaction = {
.handler = timer_interrupt,
Expand Down

0 comments on commit 90be8c1

Please sign in to comment.