Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 17758
b: refs/heads/master
c: f12555d
h: refs/heads/master
v: v3
  • Loading branch information
Atsushi Nemoto authored and unknown committed Jan 10, 2006
1 parent de0ba9f commit 310fae6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: 6c35585273b26a580b2e2ad3d6a7db282308eec5
refs/heads/master: f12555d24ca636569b51c6f104aab41b2bba8c32
6 changes: 2 additions & 4 deletions trunk/include/asm-mips/delay.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,11 @@ static inline void __udelay(unsigned long usecs, unsigned long lpj)
unsigned long lo;

/*
* The common rates of 1000 and 128 are rounded wrongly by the
* catchall case for 64-bit. Excessive precission? Probably ...
* The rates of 128 is rounded wrongly by the catchall case
* for 64-bit. Excessive precission? Probably ...
*/
#if defined(CONFIG_64BIT) && (HZ == 128)
usecs *= 0x0008637bd05af6c7UL; /* 2**64 / (1000000 / HZ) */
#elif defined(CONFIG_64BIT) && (HZ == 1000)
usecs *= 0x004189374BC6A7f0UL; /* 2**64 / (1000000 / HZ) */
#elif defined(CONFIG_64BIT)
usecs *= (0x8000000000000000UL / (500000 / HZ));
#else /* 32-bit junk follows here */
Expand Down

0 comments on commit 310fae6

Please sign in to comment.