ppc32: Fix a warning with some usages of udelay

parent 5360e744
...@@ -30,8 +30,8 @@ extern void __delay(unsigned int loops); ...@@ -30,8 +30,8 @@ extern void __delay(unsigned int loops);
* (which corresponds to ~3800 bogomips at HZ = 100). * (which corresponds to ~3800 bogomips at HZ = 100).
* -- paulus * -- paulus
*/ */
#define __MAX_UDELAY (226050910/HZ) /* maximum udelay argument */ #define __MAX_UDELAY (226050910UL/HZ) /* maximum udelay argument */
#define __MAX_NDELAY (2147483647/HZ) /* maximum ndelay argument */ #define __MAX_NDELAY (4294967295UL/HZ) /* maximum ndelay argument */
extern __inline__ void __udelay(unsigned int x) extern __inline__ void __udelay(unsigned int x)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment