2008-01-27 Robert Millan <rmh@aybabtu.com>
* kern/powerpc/ieee1275/init.c (grub_arch_modules_addr): Skip `GRUB_MOD_GAP' for platforms in which it's not defined.
This commit is contained in:
parent
e1907778a1
commit
3abc589f93
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2008-01-27 Robert Millan <rmh@aybabtu.com>
|
||||||
|
|
||||||
|
* kern/powerpc/ieee1275/init.c (grub_arch_modules_addr): Skip
|
||||||
|
`GRUB_MOD_GAP' for platforms in which it's not defined.
|
||||||
|
|
||||||
2008-01-27 Robert Millan <rmh@aybabtu.com>
|
2008-01-27 Robert Millan <rmh@aybabtu.com>
|
||||||
|
|
||||||
Get grub-emu to build again (including parallel builds).
|
Get grub-emu to build again (including parallel builds).
|
||||||
|
|
|
@ -242,5 +242,10 @@ grub_get_rtc (void)
|
||||||
grub_addr_t
|
grub_addr_t
|
||||||
grub_arch_modules_addr (void)
|
grub_arch_modules_addr (void)
|
||||||
{
|
{
|
||||||
|
/* Only needed for Apple hardware (therefore, powerpc). */
|
||||||
|
#ifndef GRUB_MOD_GAP
|
||||||
|
#define GRUB_MOD_GAP 0
|
||||||
|
#endif
|
||||||
|
|
||||||
return ALIGN_UP(_end + GRUB_MOD_GAP, GRUB_MOD_ALIGN);
|
return ALIGN_UP(_end + GRUB_MOD_GAP, GRUB_MOD_ALIGN);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue