]> git.proxmox.com Git - grub2.git/commitdiff
2008-01-27 Robert Millan <rmh@aybabtu.com>
authorrobertmh <robertmh@localhost>
Sun, 27 Jan 2008 23:00:49 +0000 (23:00 +0000)
committerrobertmh <robertmh@localhost>
Sun, 27 Jan 2008 23:00:49 +0000 (23:00 +0000)
        * kern/powerpc/ieee1275/init.c (grub_arch_modules_addr): Skip
        `GRUB_MOD_GAP' for platforms in which it's not defined.

ChangeLog
kern/powerpc/ieee1275/init.c

index 311ddd2130d181b261496e364b49f121407534db..4449d9bff39f55a46352d30f455e0069e38849f2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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).
index 6d08140f07e0565a889a16000632d9bd4f24f92f..b86e4f5c11cfa1fab91f5942410a565b616eb83e 100644 (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);
 }