about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-11-23 19:54:56 -0500
committerRich Felker <dalias@aerifal.cx>2012-11-23 19:54:56 -0500
commit98f56b12ceddba183c4fdba881ec753bbeea4e9f (patch)
treeefae3b0e82fee017a2df0e47bda8b0db98fc5061
parent144dc4f479d49b8148f8b1b6b506b0f1096f911b (diff)
downloadmusl-98f56b12ceddba183c4fdba881ec753bbeea4e9f.tar.gz
musl-98f56b12ceddba183c4fdba881ec753bbeea4e9f.tar.xz
musl-98f56b12ceddba183c4fdba881ec753bbeea4e9f.zip
fix powerpc ucontext, again..
it should now really match the kernel. some of the removed padding
corresponded to the difference between user and kernel sigset_t. the
space at the end was redundant with the uc_mcontext member and seems
to have been added as a result of misunderstanding glibc's definition
versus the kernel's.
-rw-r--r--arch/powerpc/bits/signal.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/powerpc/bits/signal.h b/arch/powerpc/bits/signal.h
index 5699e6c8..7ee38fba 100644
--- a/arch/powerpc/bits/signal.h
+++ b/arch/powerpc/bits/signal.h
@@ -55,14 +55,9 @@ typedef struct __ucontext {
 	stack_t uc_stack;
 	int uc_pad[7];
 	mcontext_t *uc_regs;
-	
 	sigset_t uc_sigmask;
-	
-        int             uc_maskext[30];
         int             uc_pad2[3];
-	
 	mcontext_t uc_mcontext;
-	char uc_reg_space[sizeof(mcontext_t) + 12];
 } ucontext_t;
 
 #define SA_NOCLDSTOP  1U