2006-12-08 Hollis Blanchard <hollis@penguinppc.org>

* kern/powerpc/ieee1275/cmain.c (cmain): Mark r3 and r4 as `UNUSED'.
This commit is contained in:
hollisb 2006-12-08 21:16:47 +00:00
parent 4e7399859b
commit ef87571464
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2006-12-08 Hollis Blanchard <hollis@penguinppc.org>
* kern/powerpc/ieee1275/cmain.c (cmain): Mark r3 and r4 as `UNUSED'.
2006-11-25 Yoshinori K. Okuji <okuji@enbug.org>
* util/i386/pc/grub-mkimage.c (generate_image): Fix the offset of

View file

@ -22,6 +22,7 @@
#include <stdint.h>
#include <grub/kernel.h>
#include <grub/misc.h>
#include <grub/types.h>
#include <grub/machine/kernel.h>
#include <grub/ieee1275/ieee1275.h>
@ -67,7 +68,7 @@ grub_ieee1275_find_options (void)
void cmain (uint32_t r3, uint32_t r4, uint32_t r5);
void
cmain (uint32_t r3, uint32_t r4 __attribute__((unused)), uint32_t r5)
cmain (UNUSED uint32_t r3, UNUSED uint32_t r4, uint32_t r5)
{
grub_ieee1275_entry_fn = (int (*)(void *)) r5;