2009-06-11 Pavel Roskin <proski@gnu.org>

* kern/efi/efi.c (grub_exit): Add infinite loop at the end to
	fix a gcc warning and ensure that the function won't ever exit.
This commit is contained in:
proski 2009-06-11 16:54:52 +00:00
parent dde032e803
commit b6783cb2ee
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2009-06-11 Pavel Roskin <proski@gnu.org>
* kern/efi/efi.c (grub_exit): Add infinite loop at the end to
fix a gcc warning and ensure that the function won't ever exit.
* kern/i386/ieee1275/init.c: Add missing prototype for
grub_stop_floppy().

View File

@ -158,6 +158,7 @@ grub_exit (void)
grub_efi_fini ();
efi_call_4 (grub_efi_system_table->boot_services->exit,
grub_efi_image_handle, GRUB_EFI_SUCCESS, 0, 0);
for (;;) ;
}
void