static void disable_tp_pid(void) { if (tp_pid_state == 1) { tp_pid_state = 0; thread_unregister_notifier(&tracectr_notifier_block); } }
static void __exit fpe_exit(void) { thread_unregister_notifier(&nwfpe_notifier_block); /* Restore the values we saved earlier. */ kern_fp_enter = orig_fp_enter; }