Commit 37cd3454 authored by Anton Blanchard's avatar Anton Blanchard

ppc64: signal formatting cleanups

parent bbb3572b
...@@ -218,8 +218,6 @@ struct sigregs { ...@@ -218,8 +218,6 @@ struct sigregs {
int abigap[72]; int abigap[72];
}; };
struct rt_sigframe struct rt_sigframe
{ {
unsigned long _unused[2]; unsigned long _unused[2];
...@@ -503,7 +501,7 @@ setup_frame(struct pt_regs *regs, struct sigregs *frame, ...@@ -503,7 +501,7 @@ setup_frame(struct pt_regs *regs, struct sigregs *frame,
return; return;
badframe: badframe:
#if DEBUG_SIG #if DEBUG_SIG
printk("badframe in setup_frame, regs=%p frame=%p newsp=%lx\n", printk("badframe in setup_frame, regs=%p frame=%p newsp=%lx\n",
regs, frame, newsp); regs, frame, newsp);
...@@ -536,7 +534,6 @@ handle_signal(unsigned long sig, struct k_sigaction *ka, ...@@ -536,7 +534,6 @@ handle_signal(unsigned long sig, struct k_sigaction *ka,
if (verify_area(VERIFY_WRITE, rt_sf, sizeof(*rt_sf))) if (verify_area(VERIFY_WRITE, rt_sf, sizeof(*rt_sf)))
goto badframe; goto badframe;
if (__put_user((unsigned long) ka->sa.sa_handler, &rt_sf->uc.uc_mcontext.handler) if (__put_user((unsigned long) ka->sa.sa_handler, &rt_sf->uc.uc_mcontext.handler)
|| __put_user(&rt_sf->info, &rt_sf->pinfo) || __put_user(&rt_sf->info, &rt_sf->pinfo)
|| __put_user(&rt_sf->uc, &rt_sf->puc) || __put_user(&rt_sf->uc, &rt_sf->puc)
......
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