소스 검색

riscv mcontext_t/sigcontext: use __aligned__ instead of aligned

aligned may be defined by the application for its own use before
bits/signal.h is included.
Michael Forney 10 달 전
부모
커밋
a23cf8f9c5
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      arch/riscv32/bits/signal.h
  2. 1 1
      arch/riscv64/bits/signal.h

+ 1 - 1
arch/riscv32/bits/signal.h

@@ -19,7 +19,7 @@ struct __riscv_mc_d_ext_state {
 };
 
 struct __riscv_mc_q_ext_state {
-	unsigned long long __f[64] __attribute__((aligned(16)));
+	unsigned long long __f[64] __attribute__((__aligned__(16)));
 	unsigned int __fcsr;
 	unsigned int __reserved[3];
 };

+ 1 - 1
arch/riscv64/bits/signal.h

@@ -19,7 +19,7 @@ struct __riscv_mc_d_ext_state {
 };
 
 struct __riscv_mc_q_ext_state {
-	unsigned long long __f[64] __attribute__((aligned(16)));
+	unsigned long long __f[64] __attribute__((__aligned__(16)));
 	unsigned int __fcsr;
 	unsigned int __reserved[3];
 };