frame_kern.h 535 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
  3. * Licensed under the GPL
  4. */
  5. #ifndef __FRAME_KERN_H_
  6. #define __FRAME_KERN_H_
  7. #define _S(nr) (1<<((nr)-1))
  8. #define _BLOCKABLE (~(_S(SIGKILL) | _S(SIGSTOP)))
  9. extern int setup_signal_stack_sc(unsigned long stack_top, int sig,
  10. struct k_sigaction *ka,
  11. struct pt_regs *regs,
  12. sigset_t *mask);
  13. extern int setup_signal_stack_si(unsigned long stack_top, int sig,
  14. struct k_sigaction *ka,
  15. struct pt_regs *regs, siginfo_t *info,
  16. sigset_t *mask);
  17. #endif