xref: /openbmc/linux/arch/powerpc/include/asm/signal.h (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
2b8b572e1SStephen Rothwell #ifndef _ASM_POWERPC_SIGNAL_H
3b8b572e1SStephen Rothwell #define _ASM_POWERPC_SIGNAL_H
4b8b572e1SStephen Rothwell 
5574c4866SAl Viro #define __ARCH_HAS_SA_RESTORER
6c3617f72SDavid Howells #include <uapi/asm/signal.h>
72b3f8e87SMichael Neuling #include <uapi/asm/ptrace.h>
82b3f8e87SMichael Neuling 
968b34588SNicholas Piggin struct pt_regs;
1068b34588SNicholas Piggin void do_notify_resume(struct pt_regs *regs, unsigned long thread_info_flags);
1168b34588SNicholas Piggin 
12*2896b2dfSNicholas Piggin unsigned long get_min_sigframe_size_32(void);
13*2896b2dfSNicholas Piggin unsigned long get_min_sigframe_size_64(void);
14*2896b2dfSNicholas Piggin unsigned long get_min_sigframe_size(void);
15*2896b2dfSNicholas Piggin unsigned long get_min_sigframe_size_compat(void);
16*2896b2dfSNicholas Piggin 
17b8b572e1SStephen Rothwell #endif /* _ASM_POWERPC_SIGNAL_H */
18