Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 204471
b: refs/heads/master
c: 5c89745
h: refs/heads/master
i:
  204469: cb11b38
  204467: 4214152
  204463: e9f6e59
v: v3
  • Loading branch information
Florian Fainelli authored and Ralf Baechle committed Aug 5, 2010
1 parent e98496e commit 7c78975
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 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: e10c53a5f31ae1535e13ef51d6615662c36d36c6
refs/heads/master: 5c8974538afd97990d3730ef6fea731a34ef1f85
8 changes: 0 additions & 8 deletions trunk/arch/mips/cavium-octeon/csrc-octeon.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ static struct clocksource clocksource_mips = {
unsigned long long notrace sched_clock(void)
{
/* 64-bit arithmatic can overflow, so use 128-bit. */
#if (__GNUC__ < 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ <= 3))
u64 t1, t2, t3;
unsigned long long rv;
u64 mult = clocksource_mips.mult;
Expand All @@ -73,13 +72,6 @@ unsigned long long notrace sched_clock(void)
: [cnt] "r" (cnt), [mult] "r" (mult), [shift] "r" (shift)
: "hi", "lo");
return rv;
#else
/* GCC > 4.3 do it the easy way. */
unsigned int __attribute__((mode(TI))) t;
t = read_c0_cvmcount();
t = t * clocksource_mips.mult;
return (unsigned long long)(t >> clocksource_mips.shift);
#endif
}

void __init plat_time_init(void)
Expand Down

0 comments on commit 7c78975

Please sign in to comment.