From: Vesa Jääskeläinen <ch...@nic.fi> Date: Wed, 04 Mar 2009 13:34:46 +0200
> David Miller wrote: > > diff --git a/include/grub/sparc64/setjmp.h b/include/grub/sparc64/setjmp.h > > index 12d8e01..183a820 100644 > > --- a/include/grub/sparc64/setjmp.h > > +++ b/include/grub/sparc64/setjmp.h > > @@ -19,8 +19,7 @@ > > #ifndef GRUB_SETJMP_CPU_HEADER > > #define GRUB_SETJMP_CPU_HEADER 1 > > > > -/* FIXME (sparc64). */ > > -typedef unsigned long grub_jmp_buf[20]; > > +typedef unsigned long grub_jmp_buf[3]; > > I assume unsigned long is 64bit in sparc? Yes, for sparc64 long is always 64-bit, no exceptions. > Would it be more practical to use grub_uint64_t? This is a "sparc64" file, so I don't think so. > Are there any other registers that needs to be preserved ? Not for GRUB, no. _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel