ソースを参照

mips: fix mcontext_t register array field name

glibc and uclibc use gregs instead of regs

Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau 9 年 前
コミット
3fffa7a658
1 ファイル変更1 行追加1 行削除
  1. 1 1
      arch/mips/bits/signal.h

+ 1 - 1
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;