summaryrefslogtreecommitdiffstats
path: root/include/asm-arm
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-06-30 11:06:49 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-06-30 11:06:49 +0100
commitcfb0810eab39d1162f45b73fc96f45ab1cbcbe8b (patch)
treebbe5ec68ab0a4483324bd4e231cb6fb2358d23ab /include/asm-arm
parent9b4311eedb17fa88f02e4876cd6aa9a08e383cd6 (diff)
downloadop-kernel-dev-cfb0810eab39d1162f45b73fc96f45ab1cbcbe8b.zip
op-kernel-dev-cfb0810eab39d1162f45b73fc96f45ab1cbcbe8b.tar.gz
[PATCH] ARM: Don't try to send a signal to pid0
If we receive an unrecognised abort during boot, don't try to send a signal to pid0, but instead report the current state. This leads to less confusing debug reports. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm')
-rw-r--r--include/asm-arm/system.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-arm/system.h b/include/asm-arm/system.h
index cdf49f4..2f44b20 100644
--- a/include/asm-arm/system.h
+++ b/include/asm-arm/system.h
@@ -85,7 +85,9 @@ 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);
+struct siginfo;
+void notify_die(const char *str, struct pt_regs *regs, struct siginfo *info,
+ unsigned long err, unsigned long trap);
void hook_fault_code(int nr, int (*fn)(unsigned long, unsigned int,
struct pt_regs *),
OpenPOWER on IntegriCloud