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:
robertmh 2008-01-27 23:00:49 +00:00
parent e1907778a1
commit 3abc589f93
2 changed files with 10 additions and 0 deletions

View file

@ -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>
Get grub-emu to build again (including parallel builds).

View file

@ -242,5 +242,10 @@ grub_get_rtc (void)
grub_addr_t
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);
}