Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 91302
b: refs/heads/master
c: dd89dd9
h: refs/heads/master
v: v3
  • Loading branch information
Kevin Hilman authored and Tony Lindgren committed Apr 14, 2008
1 parent 3929d44 commit fc495a8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: caa97963a5d9042af15728bcd22ee5a8900dc0e9
refs/heads/master: dd89dd98cb9ae28f9e4c4d2c08be427a1f941c54
16 changes: 0 additions & 16 deletions trunk/arch/arm/mach-omap1/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,22 +227,6 @@ static void __init omap_init_clocksource(unsigned long rate)
printk(err, clocksource_mpu.name);
}


/*
* Scheduler clock - returns current time in nanosec units.
*/
unsigned long long sched_clock(void)
{
unsigned long ticks = 0 - omap_mpu_timer_read(1);
unsigned long long ticks64;

ticks64 = omap_mpu_timer2_overflows;
ticks64 <<= 32;
ticks64 |= ticks;

return cycles_2_ns(ticks64);
}

/*
* ---------------------------------------------------------------------------
* Timer initialization
Expand Down

0 comments on commit fc495a8

Please sign in to comment.