Cast mdp (a vm_offset_t) to void * to match prototype.
Sponsored by: Netflix
This commit is contained in:
parent
a76b2d3d57
commit
2d35a371fc
@ -91,7 +91,7 @@ __elfN(ofw_exec)(struct preloaded_file *fp)
|
||||
if (dtbp != 0) {
|
||||
OF_quiesce();
|
||||
((int (*)(u_long, u_long, u_long, void *, u_long))entry)(dtbp, 0, 0,
|
||||
mdp, sizeof(mdp));
|
||||
(void *)mdp, sizeof(mdp));
|
||||
} else {
|
||||
OF_chain((void *)reloc, end - (char *)reloc, (void *)entry,
|
||||
(void *)mdp, 0xfb5d104d);
|
||||
|
@ -95,7 +95,7 @@ ppc64_ofw_elf_exec(struct preloaded_file *fp)
|
||||
if (dtbp != 0) {
|
||||
OF_quiesce();
|
||||
((int (*)(u_long, u_long, u_long, void *, u_long))entry)(dtbp,
|
||||
0, 0, mdp, 0xfb5d104d);
|
||||
0, 0, (void *)mdp, 0xfb5d104d);
|
||||
} else {
|
||||
OF_chain((void *)reloc, end - (char *)reloc, (void *)entry,
|
||||
(void *)mdp, 0xfb5d104d);
|
||||
|
Loading…
Reference in New Issue
Block a user