generic bug: use show_regs() instead of dump_stack()
[deliverable/linux.git] / arch / avr32 / kernel / traps.c
index 86d107511dd4dc1290e765714a2b560432e85a17..aaa792815cd7ce6d71d760291937b7d2a67f68ad 100644 (file)
@@ -184,7 +184,7 @@ asmlinkage void do_illegal_opcode(unsigned long ecr, struct pt_regs *regs)
        if (!user_mode(regs) && (ecr == ECR_ILLEGAL_OPCODE)) {
                enum bug_trap_type type;
 
-               type = report_bug(regs->pc);
+               type = report_bug(regs->pc, regs);
                switch (type) {
                case BUG_TRAP_TYPE_NONE:
                        break;
This page took 0.026069 seconds and 5 git commands to generate.