summaryrefslogtreecommitdiff
path: root/arch/sparc
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2018-11-26 09:59:40 +0300
committerDavid S. Miller <davem@davemloft.net>2018-11-28 02:44:26 +0300
commitf6f8c1c09c224076a6c9ca3d97c24b81698f98f8 (patch)
tree16696ad8ced1655c8355e133b1d160394480b166 /arch/sparc
parent86322ba9571a36b0b149a5f27fc3423c2dadbe39 (diff)
downloadlinux-f6f8c1c09c224076a6c9ca3d97c24b81698f98f8.tar.xz
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')
-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;