projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ARC: handle gcc generated __builtin_trap()
[linux-2.6-microblaze.git]
/
arch
/
arc
/
kernel
/
troubleshoot.c
diff --git
a/arch/arc/kernel/troubleshoot.c
b/arch/arc/kernel/troubleshoot.c
index
7d8c1d6
..
6e9a0a9
100644
(file)
--- a/
arch/arc/kernel/troubleshoot.c
+++ b/
arch/arc/kernel/troubleshoot.c
@@
-163,6
+163,9
@@
static void show_ecr_verbose(struct pt_regs *regs)
else
pr_cont("Bus Error, check PRM\n");
#endif
+ } else if (vec == ECR_V_TRAP) {
+ if (regs->ecr_param == 5)
+ pr_cont("gcc generated __builtin_trap\n");
} else {
pr_cont("Check Programmer's Manual\n");
}