summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/signal_64.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2018-11-26 17:59:40 +1100
committerDavid S. Miller <davem@davemloft.net>2018-11-27 15:44:26 -0800
commitf6f8c1c09c224076a6c9ca3d97c24b81698f98f8 (patch)
tree16696ad8ced1655c8355e133b1d160394480b166 /arch/sparc/kernel/signal_64.c
parent86322ba9571a36b0b149a5f27fc3423c2dadbe39 (diff)
downloadlinux-stable-f6f8c1c09c224076a6c9ca3d97c24b81698f98f8.tar.gz
linux-stable-f6f8c1c09c224076a6c9ca3d97c24b81698f98f8.tar.bz2
linux-stable-f6f8c1c09c224076a6c9ca3d97c24b81698f98f8.zip
sparc: suppress the implicit-fallthrough warning
sparc builds with -Werror Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/signal_64.c')
-rw-r--r--arch/sparc/kernel/signal_64.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/kernel/signal_64.c b/arch/sparc/kernel/signal_64.c
index e9de1803a22e..ca70787efd8e 100644
--- a/arch/sparc/kernel/signal_64.c
+++ b/arch/sparc/kernel/signal_64.c
@@ -533,6 +533,7 @@ static void do_signal(struct pt_regs *regs, unsigned long orig_i0)
regs->tpc -= 4;
regs->tnpc -= 4;
pt_regs_clear_syscall(regs);
+ /* fall through */
case ERESTART_RESTARTBLOCK:
regs->u_regs[UREG_G1] = __NR_restart_syscall;
regs->tpc -= 4;