summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2018-11-26 07:59:40 +0100
committerDavid S. Miller <davem@davemloft.net>2018-11-28 00:44:26 +0100
commitf6f8c1c09c224076a6c9ca3d97c24b81698f98f8 (patch)
tree16696ad8ced1655c8355e133b1d160394480b166 /arch/sparc/kernel
parentarch/sparc: Use kzalloc_node (diff)
downloadlinux-f6f8c1c09c224076a6c9ca3d97c24b81698f98f8.tar.xz
linux-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')
-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;