| 1 |
|
| 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 |
|
| 10 | #ifndef __ASSEMBLER__
|
| 11 |
|
| 12 | #include <linux/compiler.h>
|
| 13 | #include <linux/linkage.h>
|
| 14 | #include <linux/irqflags.h>
|
| 15 | #include <linux/signal.h>
|
| 16 | #include <linux/ratelimit.h>
|
| 17 | #include <linux/reboot.h>
|
| 18 |
|
| 19 | struct pt_regs;
|
| 20 |
|
| 21 | void die(const char *msg, struct pt_regs *regs, long err);
|
| 22 |
|
| 23 | struct siginfo;
|
| 24 | void arm64_notify_die(const char *str, struct pt_regs *regs,
|
| 25 | int signo, int sicode, unsigned long far,
|
| 26 | unsigned long err);
|
| 27 |
|
| 28 | struct mm_struct;
|
| 29 | extern void __show_regs(struct pt_regs *);
|
| 30 |
|
| 31 | #endif
|
| 32 |
|
| 33 | #endif
|