frame_kern.h 901 B

1234567891011121314151617181920212223242526272829303132
  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
  18. /*
  19. * Overrides for Emacs so that we follow Linus's tabbing style.
  20. * Emacs will notice this stuff at the end of the file and automatically
  21. * adjust the settings for this buffer only. This must remain at the end
  22. * of the file.
  23. * ---------------------------------------------------------------------------
  24. * Local variables:
  25. * c-file-style: "linux"
  26. * End:
  27. */