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
Kirill Smelkov
linux
Commits
4260c52e
Commit
4260c52e
authored
Oct 11, 2003
by
Benjamin Herrenschmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix call to Open Firmware "map" call, parameters were flipped causing
the coff image to randomly fail
parent
58f9116e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
arch/ppc/boot/of1275/map.c
arch/ppc/boot/of1275/map.c
+4
-5
No files found.
arch/ppc/boot/of1275/map.c
View file @
4260c52e
...
...
@@ -23,11 +23,10 @@ map(unsigned int phys, unsigned int virt, unsigned int size)
char
*
method
;
ihandle
mmu_ihandle
;
int
misc
;
unsigned
int
phys
;
unsigned
int
virt
;
unsigned
int
size
;
unsigned
int
virt
;
unsigned
int
phys
;
int
ret0
;
int
ret1
;
}
args
;
if
(
of_prom_mmu
==
0
)
{
...
...
@@ -36,10 +35,10 @@ map(unsigned int phys, unsigned int virt, unsigned int size)
}
args
.
service
=
"call-method"
;
args
.
nargs
=
6
;
args
.
nret
=
2
;
args
.
nret
=
1
;
args
.
method
=
"map"
;
args
.
mmu_ihandle
=
of_prom_mmu
;
args
.
misc
=
-
1
;
args
.
misc
=
0
;
args
.
phys
=
phys
;
args
.
virt
=
virt
;
args
.
size
=
size
;
...
...
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