From 4860db9f5452f442833366a475910e34f117b579 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 21 Nov 2012 13:51:14 -0500 Subject: [PATCH] more ppc signal.h typedef order fixes --- arch/powerpc/bits/signal.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/arch/powerpc/bits/signal.h b/arch/powerpc/bits/signal.h index 7be1028a..e66da6d4 100644 --- a/arch/powerpc/bits/signal.h +++ b/arch/powerpc/bits/signal.h @@ -5,19 +5,6 @@ typedef unsigned long gregset_t[48]; -struct sigcontext -{ - unsigned long _unused[4]; - int signal; - unsigned long handler; - unsigned long oldmask; - void *regs; - gregset_t gp_regs; - fpregset_t fp_regs; - vrregset_t *v_regs; - long vmx_reserve[33+33+32+1]; /* 33=34 for ppc64 */ -}; - typedef struct { double fpregs[32]; double fpscr; @@ -31,6 +18,19 @@ typedef struct { unsigned vscr; } vrregset_t; +struct sigcontext +{ + unsigned long _unused[4]; + int signal; + unsigned long handler; + unsigned long oldmask; + void *regs; + gregset_t gp_regs; + fpregset_t fp_regs; + vrregset_t *v_regs; + long vmx_reserve[33+33+32+1]; /* 33=34 for ppc64 */ +}; + typedef struct { gregset_t gregs; fpregset_t fpregs;