: Fix sparc build of grub_mb2_arch_boot()
PATCH 6/7 : Fix sparc build of grub_mb2_arch_boot()
This isn't %100 correct, but it gets the tree building.
2009-03-03 David S. Miller <[email protected]>
* loader/ieee1275/multiboot2.c (grub_mb2_arch_boot): Handle sparc like powerpc.
--- loader/ieee1275/multiboot2.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
loader/ieee1275/multiboot2.c +1 -1
@@ -115,7 +115,7 @@ grub_mb2_arch_unload (struct multiboot_tag_header *tags)void grub_mb2_arch_boot (grub_addr_t entry_addr,void *tags) { -#if defined(__powerpc__) +#if defined(__powerpc__) || defined(__sparc__)kernel_entry_t entry = (kernel_entry_t ) entry_addr;entry (MULTIBOOT2_BOOTLOADER_MAGIC , tags, grub_ieee1275_entry_fn,0 ,0 );#elif defined(__i386__)
Signature · 1 line
1.6.1.2.253.ga34a