コード例 #1
0
ファイル: perf_trace_counters.c プロジェクト: Cl3Kener/UBER-L
static void disable_tp_pid(void)
{
	if (tp_pid_state == 1) {
		tp_pid_state = 0;
		thread_unregister_notifier(&tracectr_notifier_block);
	}
}
コード例 #2
0
ファイル: fpmodule.c プロジェクト: 274914765/C
static void __exit fpe_exit(void)
{
    thread_unregister_notifier(&nwfpe_notifier_block);
    /* Restore the values we saved earlier. */
    kern_fp_enter = orig_fp_enter;
}