aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-08-03 16:54:13 -0400
committerRalf Baechle <ralf@linux-mips.org>2006-09-27 08:37:32 -0400
commit45887e12f21780f00b861fdaff8e9d02a42eeb0f (patch)
tree01865fe44d9b4d7c105d498dcaff1e2859be01d1
parent1b223c861fd98080c2483f196b2496ac1f06f308 (diff)
[MIPS] Add missing returns in signal code.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/kernel/signal.c2
-rw-r--r--arch/mips/kernel/signal32.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/kernel/signal.c b/arch/mips/kernel/signal.c
index dc8956e3a396..56bf42911336 100644
--- a/arch/mips/kernel/signal.c
+++ b/arch/mips/kernel/signal.c
@@ -443,6 +443,8 @@ void do_signal(struct pt_regs *regs)
443 if (test_thread_flag(TIF_RESTORE_SIGMASK)) 443 if (test_thread_flag(TIF_RESTORE_SIGMASK))
444 clear_thread_flag(TIF_RESTORE_SIGMASK); 444 clear_thread_flag(TIF_RESTORE_SIGMASK);
445 } 445 }
446
447 return;
446 } 448 }
447 449
448 /* 450 /*
diff --git a/arch/mips/kernel/signal32.c b/arch/mips/kernel/signal32.c
index 30980df56cd1..282e85a7bae1 100644
--- a/arch/mips/kernel/signal32.c
+++ b/arch/mips/kernel/signal32.c
@@ -833,6 +833,8 @@ void do_signal32(struct pt_regs *regs)
833 if (test_thread_flag(TIF_RESTORE_SIGMASK)) 833 if (test_thread_flag(TIF_RESTORE_SIGMASK))
834 clear_thread_flag(TIF_RESTORE_SIGMASK); 834 clear_thread_flag(TIF_RESTORE_SIGMASK);
835 } 835 }
836
837 return;
836 } 838 }
837 839
838 /* 840 /*