summaryrefslogtreecommitdiff
path: root/include/asm-arm/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/system.h')
-rw-r--r--include/asm-arm/system.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/asm-arm/system.h b/include/asm-arm/system.h
index 67f15f1be682..d9a68af9d5f9 100644
--- a/include/asm-arm/system.h
+++ b/include/asm-arm/system.h
@@ -24,6 +24,17 @@ extern int have_isa_bridge;
#define have_isa_bridge (0)
#endif
+struct pt_regs;
+
+void die(const char *msg, struct pt_regs *regs, int err)
+ __attribute__((noreturn));
+
+void die_if_kernel(const char *str, struct pt_regs *regs, int err);
+
+void hook_fault_code(int nr, int (*fn)(unsigned long, unsigned int,
+ struct pt_regs *),
+ int sig, const char *name);
+
#include <asm/proc-fns.h>
#define xchg(ptr,x) \