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 e221842739b85fae9c4131fe82b5b190221615e1..818e0a7b306789899c3163a273e5e13730fd8a5b 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;