kernel_optimize_test/arch/arm/kernel/signal.h
Ben Dooks (Codethink) 83dc1d9942 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 <ben.dooks@codethink.co.uk>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2019-10-31 16:58:53 +00:00

14 lines
209 B
C

#include <asm/ucontext.h>
struct sigframe {
struct ucontext uc;
unsigned long retcode[4];
};
struct rt_sigframe {
struct siginfo info;
struct sigframe sig;
};
extern struct page *get_signal_page(void);