Commit cd112674 authored by Anton Blanchard's avatar Anton Blanchard

ppc64: prevsp is not used any more

   remove fpscr_pad, not required on 64 bit
parent ec5a5b68
...@@ -247,7 +247,6 @@ int sys_rt_sigreturn(unsigned long r3, unsigned long r4, unsigned long r5, ...@@ -247,7 +247,6 @@ int sys_rt_sigreturn(unsigned long r3, unsigned long r4, unsigned long r5,
elf_gregset_t saved_regs; /* an array of ELF_NGREG unsigned longs */ elf_gregset_t saved_regs; /* an array of ELF_NGREG unsigned longs */
sigset_t set; sigset_t set;
stack_t st; stack_t st;
unsigned long prevsp;
rt_sf = (struct rt_sigframe *)(regs->gpr[1] + __SIGNAL_FRAMESIZE); rt_sf = (struct rt_sigframe *)(regs->gpr[1] + __SIGNAL_FRAMESIZE);
if (copy_from_user(&sigctx, &rt_sf->uc.uc_mcontext, sizeof(sigctx)) if (copy_from_user(&sigctx, &rt_sf->uc.uc_mcontext, sizeof(sigctx))
...@@ -364,7 +363,6 @@ long sys_sigreturn(unsigned long r3, unsigned long r4, unsigned long r5, ...@@ -364,7 +363,6 @@ long sys_sigreturn(unsigned long r3, unsigned long r4, unsigned long r5,
struct sigregs *sr; struct sigregs *sr;
elf_gregset_t saved_regs; /* an array of ELF_NGREG unsigned longs */ elf_gregset_t saved_regs; /* an array of ELF_NGREG unsigned longs */
sigset_t set; sigset_t set;
unsigned long prevsp;
sc = (struct sigcontext_struct *)(regs->gpr[1] + __SIGNAL_FRAMESIZE); sc = (struct sigcontext_struct *)(regs->gpr[1] + __SIGNAL_FRAMESIZE);
if (copy_from_user(&sigctx, sc, sizeof(sigctx))) if (copy_from_user(&sigctx, sc, sizeof(sigctx)))
......
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
#define FPSCR_VX 0x20000000 /* Invalid operation summary */ #define FPSCR_VX 0x20000000 /* Invalid operation summary */
#define FPSCR_OX 0x10000000 /* Overflow exception summary */ #define FPSCR_OX 0x10000000 /* Overflow exception summary */
#define FPSCR_UX 0x08000000 /* Underflow exception summary */ #define FPSCR_UX 0x08000000 /* Underflow exception summary */
#define FPSCR_ZX 0x04000000 /* Zero-devide exception summary */ #define FPSCR_ZX 0x04000000 /* Zero-divide exception summary */
#define FPSCR_XX 0x02000000 /* Inexact exception summary */ #define FPSCR_XX 0x02000000 /* Inexact exception summary */
#define FPSCR_VXSNAN 0x01000000 /* Invalid op for SNaN */ #define FPSCR_VXSNAN 0x01000000 /* Invalid op for SNaN */
#define FPSCR_VXISI 0x00800000 /* Invalid op for Inv - Inv */ #define FPSCR_VXISI 0x00800000 /* Invalid op for Inv - Inv */
...@@ -653,7 +653,6 @@ struct thread_struct { ...@@ -653,7 +653,6 @@ struct thread_struct {
mm_segment_t fs; /* for get_fs() validation */ mm_segment_t fs; /* for get_fs() validation */
signed long last_syscall; signed long last_syscall;
double fpr[32]; /* Complete floating point set */ double fpr[32]; /* Complete floating point set */
unsigned long fpscr_pad; /* fpr ... fpscr must be contiguous */
unsigned long fpscr; /* Floating point status */ unsigned long fpscr; /* Floating point status */
}; };
...@@ -664,7 +663,8 @@ struct thread_struct { ...@@ -664,7 +663,8 @@ struct thread_struct {
(struct pt_regs *)INIT_SP - 1, /* regs */ \ (struct pt_regs *)INIT_SP - 1, /* regs */ \
KERNEL_DS, /*fs*/ \ KERNEL_DS, /*fs*/ \
0, /* last_syscall */ \ 0, /* last_syscall */ \
{0}, 0, 0 \ {0}, /* fpr */ \
0 /* fpscr */ \
} }
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment