riscv64: correct struct __ucontext name

Submitted by Drew DeVault on Dec. 5, 2020, 5:01 p.m.

Details

Message ID 20201205170034.9478-1-sir@cmpwn.com
State New
Series "riscv64: correct struct __ucontext name"
Headers show

Commit Message

Drew DeVault Dec. 5, 2020, 5:01 p.m.
This makes it consistent with other architectures and fixes some issues
with downstream software.
---
Please Cc me on replies.

 arch/riscv64/bits/signal.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/arch/riscv64/bits/signal.h b/arch/riscv64/bits/signal.h
index b006334f..6b8c3b17 100644
--- a/arch/riscv64/bits/signal.h
+++ b/arch/riscv64/bits/signal.h
@@ -60,7 +60,7 @@  struct sigaltstack {
 	size_t ss_size;
 };
 
-typedef struct ucontext_t
+typedef struct __ucontext
 {
 	unsigned long uc_flags;
 	struct ucontext_t *uc_link;