Skip to content
Snippets Groups Projects
Commit f6f8c1c0 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by David S. Miller
Browse files

sparc: suppress the implicit-fallthrough warning


sparc builds with -Werror

Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 86322ba9
Branches
No related tags found
No related merge requests found
...@@ -533,6 +533,7 @@ static void do_signal(struct pt_regs *regs, unsigned long orig_i0) ...@@ -533,6 +533,7 @@ static void do_signal(struct pt_regs *regs, unsigned long orig_i0)
regs->tpc -= 4; regs->tpc -= 4;
regs->tnpc -= 4; regs->tnpc -= 4;
pt_regs_clear_syscall(regs); pt_regs_clear_syscall(regs);
/* fall through */
case ERESTART_RESTARTBLOCK: case ERESTART_RESTARTBLOCK:
regs->u_regs[UREG_G1] = __NR_restart_syscall; regs->u_regs[UREG_G1] = __NR_restart_syscall;
regs->tpc -= 4; regs->tpc -= 4;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment