system_misc.h 733 B

123456789101112131415161718192021222324252627282930313233
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Based on arch/arm/include/asm/system_misc.h
  4. *
  5. * Copyright (C) 2012 ARM Ltd.
  6. */
  7. #ifndef __ASM_SYSTEM_MISC_H
  8. #define __ASM_SYSTEM_MISC_H
  9. #ifndef __ASSEMBLER__
  10. #include <linux/compiler.h>
  11. #include <linux/linkage.h>
  12. #include <linux/irqflags.h>
  13. #include <linux/signal.h>
  14. #include <linux/ratelimit.h>
  15. #include <linux/reboot.h>
  16. struct pt_regs;
  17. void die(const char *msg, struct pt_regs *regs, long err);
  18. struct siginfo;
  19. void arm64_notify_die(const char *str, struct pt_regs *regs,
  20. int signo, int sicode, unsigned long far,
  21. unsigned long err);
  22. struct mm_struct;
  23. extern void __show_regs(struct pt_regs *);
  24. #endif /* __ASSEMBLER__ */
  25. #endif /* __ASM_SYSTEM_MISC_H */