mips: fix mcontext_t register array field name
authorFelix Fietkau <nbd@openwrt.org>
Tue, 21 Jul 2015 13:01:25 +0000 (15:01 +0200)
committerRich Felker <dalias@aerifal.cx>
Tue, 21 Jul 2015 23:02:31 +0000 (19:02 -0400)
glibc and uclibc use gregs instead of regs

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
arch/mips/bits/signal.h

index e221842..818e0a7 100644 (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;