Skip to content

Commit

Permalink
Blackfin: drop duplicate sched_clock
Browse files Browse the repository at this point in the history
The Blackfin sched_clock() func is pretty much a duplicate of the common
version, so just punt it.

Reported-by: David Miller <davem@davemloft.net>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
  • Loading branch information
Mike Frysinger committed Dec 15, 2009
1 parent a797a0e commit 8a83311
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions arch/blackfin/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,3 @@ void __init time_init(void)

time_sched_init(timer_interrupt);
}

/*
* Scheduler clock - returns current time in nanosec units.
*/
unsigned long long sched_clock(void)
{
return (unsigned long long)jiffies *(NSEC_PER_SEC / HZ);
}

0 comments on commit 8a83311

Please sign in to comment.