summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-07-21 15:01:25 +0200
committerRich Felker <dalias@aerifal.cx>2015-07-21 19:02:31 -0400
commit3fffa7a658aa925b8f95d36aef7531c1827dbf28 (patch)
treed3a1663434eb0be1ce32be0fc186560ea2a835f2
parent0f9c2666aca95eb98eb0ef4f4d8d1473c8ce3fa0 (diff)
downloadmusl-3fffa7a658aa925b8f95d36aef7531c1827dbf28.tar.gz
mips: fix mcontext_t register array field name
glibc and uclibc use gregs instead of regs Signed-off-by: Felix Fietkau <nbd@openwrt.org>
-rw-r--r--arch/mips/bits/signal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/bits/signal.h b/arch/mips/bits/signal.h
index e2218427..818e0a7b 100644
--- a/arch/mips/bits/signal.h
+++ b/arch/mips/bits/signal.h
@@ -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;