Fix FTBFS on mips and ppc

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-03-03 20:53:54 +01:00
parent 1e95b56e59
commit 123f9c50eb
5 changed files with 10 additions and 3 deletions

View file

@ -479,7 +479,7 @@ grub_cmd_initrd (grub_command_t cmd __attribute__ ((unused)),
+ linux_size + 0x10000,
(0x10000000 - size),
size, 0x10000,
GRUB_RELOCATOR_PREFERENCE_NONE);
GRUB_RELOCATOR_PREFERENCE_NONE, 0);
if (err)
goto fail;

View file

@ -134,7 +134,11 @@ grub_multiboot_boot (void)
return err;
#endif
#if defined (__i386__) || defined (__x86_64__)
grub_relocator32_boot (grub_multiboot_relocator, state, 0);
#else
grub_relocator32_boot (grub_multiboot_relocator, state);
#endif
/* Not reached. */
return GRUB_ERR_NONE;