From 83dc1d99429af7d73225294f216a510ba6f58e45 Mon Sep 17 00:00:00 2001 From: "Ben Dooks (Codethink)" Date: Fri, 11 Oct 2019 13:53:32 +0100 Subject: [PATCH] ARM: 8920/1: share get_signal_page from signal.c to process.c 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 Signed-off-by: Russell King --- arch/arm/kernel/process.c | 2 ++ arch/arm/kernel/signal.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c index 9485acc..cea1c27 100644 --- a/arch/arm/kernel/process.c +++ b/arch/arm/kernel/process.c @@ -36,6 +36,8 @@ #include #include +#include "signal.h" + #if defined(CONFIG_STACKPROTECTOR) && !defined(CONFIG_STACKPROTECTOR_PER_TASK) #include unsigned long __stack_chk_guard __read_mostly; diff --git a/arch/arm/kernel/signal.h b/arch/arm/kernel/signal.h index b7b838b0..cb076d3 100644 --- a/arch/arm/kernel/signal.h +++ b/arch/arm/kernel/signal.h @@ -9,3 +9,5 @@ struct rt_sigframe { struct siginfo info; struct sigframe sig; }; + +extern struct page *get_signal_page(void); -- 2.7.4