[SPARC] Fix fpu_fr.fpu_dregs size in sys/ucontext.h
Commit Message
Hi.
I just noticed a small typo in sys/ucontext.h. The attached patch fixes
it.
Tested in sparc64-unknown-linux-gnu.
2014-10-30 Jose E. Marchesi <jose.marchesi@oracle.com>
* sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
the size of the fpu_fr.fpu_dregs[] array.
Comments
From: jose.marchesi@oracle.com (Jose E. Marchesi)
Date: Thu, 30 Oct 2014 14:51:46 +0100
> I just noticed a small typo in sys/ucontext.h. The attached patch fixes
> it.
>
> Tested in sparc64-unknown-linux-gnu.
>
> 2014-10-30 Jose E. Marchesi <jose.marchesi@oracle.com>
>
> * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
> the size of the fpu_fr.fpu_dregs[] array.
Looks good, I'll install this change, thanks.
@@ -202,7 +202,7 @@ typedef struct fpu
{
union { /* FPU floating point regs */
unsigned fpu_regs[32]; /* 32 singles */
- double fpu_dregs[16]; /* 32 doubles */
+ double fpu_dregs[32]; /* 32 doubles */
long double fpu_qregs[16]; /* 16 quads */
} fpu_fr;
struct fq *fpu_q; /* ptr to array of FQ entries */