replacement for nmi_callback_t in 22.214.171.124 version
Iam trying to port lkcd from 2.6.10 to 126.96.36.199 version. Right now iam facing a problem where, lkcd implementation for 2.6.10 version is using set_nmi_callback function to set the a callback function during the crash. Now in 2.6.20 there is no set_nmi_callback function but instead there is do_nmi_callback which doesn't allow us to register any callback function.
Right now am stuck at this. Any hint would be helpful!!!. Also iam a beginner in kernel programming so dont have much idea regarding all this.
Thanks in advance