notifier_chain_register(&panic_notifier_list, ...)
See the kdb patch[1] for example code. Remember that all but one cpus
are dead by the time you are called, I hope all your IRQs go to the
single live cpu.
[1] ftp://oss.sgi.com/projects/kdb/download/ix86
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/