ARM: 8920/1: share get_signal_page from signal.c to process.c
authorBen Dooks (Codethink) <ben.dooks@codethink.co.uk>
Fri, 11 Oct 2019 12:53:32 +0000 (13:53 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Thu, 31 Oct 2019 16:58:53 +0000 (16:58 +0000)
The get_signal_page() function is defined in signal.c and used in
process.c but there is no shared definition. Add one in signal.h to
silence the following warning:

arch/arm/kernel/signal.c:683:13: warning: symbol 'get_signal_page' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/kernel/process.c
arch/arm/kernel/signal.h

index 9485acc520a413451f0b925276c81c8d23a00d3f..cea1c27c29cba2d81aefe19b5b94f94d55b87c85 100644 (file)
@@ -36,6 +36,8 @@
 #include <asm/tls.h>
 #include <asm/vdso.h>
 
+#include "signal.h"
+
 #if defined(CONFIG_STACKPROTECTOR) && !defined(CONFIG_STACKPROTECTOR_PER_TASK)
 #include <linux/stackprotector.h>
 unsigned long __stack_chk_guard __read_mostly;
index b7b838b05229aa5cd702611013cdae97fa033b07..cb076d30ab38b3e0a3df2811b5e5d8c6dd8bbd3f 100644 (file)
@@ -9,3 +9,5 @@ struct rt_sigframe {
        struct siginfo info;
        struct sigframe sig;
 };
+
+extern struct page *get_signal_page(void);