mips: fix mcontext_t register array field name

glibc and uclibc use gregs instead of regs

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
This commit is contained in:
Felix Fietkau 2015-07-21 15:01:25 +02:00 committed by Rich Felker
parent 0f9c2666ac
commit 3fffa7a658
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ struct sigcontext
typedef struct
{
unsigned regmask, status;
unsigned long long pc, regs[32], fpregs[32];
unsigned long long pc, gregs[32], fpregs[32];
unsigned ownedfp, fpc_csr, fpc_eir, used_math, dsp;
unsigned long long mdhi, mdlo;
unsigned long hi1, lo1, hi2, lo2, hi3, lo3;