Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
2767017a
Commit
2767017a
authored
Feb 06, 2004
by
Benjamin Herrenschmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc32: Fix a warning with some usages of udelay
parent
5360e744
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
include/asm-ppc/delay.h
include/asm-ppc/delay.h
+2
-2
No files found.
include/asm-ppc/delay.h
View file @
2767017a
...
@@ -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 (226050910
UL
/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
)
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment