aboutsummaryrefslogtreecommitdiffstats
path: root/main/musl/ppc-pt_regs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/musl/ppc-pt_regs.patch')
-rw-r--r--main/musl/ppc-pt_regs.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/main/musl/ppc-pt_regs.patch b/main/musl/ppc-pt_regs.patch
deleted file mode 100644
index 45815321bf0..00000000000
--- a/main/musl/ppc-pt_regs.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-commit c2518a8efb6507f1b41c3b12e03b06f8f2317a1f
-Author: Rich Felker <dalias@aerifal.cx>
-Date: Sat Oct 19 15:53:43 2019 -0400
-
- use struct pt_regs * rather than void * for powerpc[64] sigcontext regs
-
- this is to match the kernel and glibc interfaces. here, struct pt_regs
- is an incomplete type, but that's harmless, and if it's completed by
- inclusion of another header then members of the struct pointed to by
- the regs member can be accessed directly without going through a cast
- or intermediate pointer object.
-
-diff --git a/arch/powerpc/bits/signal.h b/arch/powerpc/bits/signal.h
-index 06efb11c..c1bf3caf 100644
---- a/arch/powerpc/bits/signal.h
-+++ b/arch/powerpc/bits/signal.h
-@@ -28,7 +28,7 @@ struct sigcontext {
- int signal;
- unsigned long handler;
- unsigned long oldmask;
-- void *regs;
-+ struct pt_regs *regs;
- };
-
- typedef struct {
-diff --git a/arch/powerpc64/bits/signal.h b/arch/powerpc64/bits/signal.h
-index 4dec22a5..d5493b18 100644
---- a/arch/powerpc64/bits/signal.h
-+++ b/arch/powerpc64/bits/signal.h
-@@ -32,7 +32,7 @@ typedef struct sigcontext {
- int _pad0;
- unsigned long handler;
- unsigned long oldmask;
-- void *regs;
-+ struct pt_regs *regs;
- gregset_t gp_regs;
- fpregset_t fp_regs;
- vrregset_t *v_regs;