signal32.h 358 B

123456789101112131415161718
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. #ifndef __ASM_SIGNAL32_H
  3. #define __ASM_SIGNAL32_H
  4. #if IS_ENABLED(CONFIG_COMPAT)
  5. int compat_setup_rt_frame(struct ksignal *ksig, sigset_t *set,
  6. struct pt_regs *regs);
  7. #else
  8. static inline
  9. int compat_setup_rt_frame(struct ksignal *ksig, sigset_t *set,
  10. struct pt_regs *regs)
  11. {
  12. return -1;
  13. }
  14. #endif
  15. #endif