Index: schedprof-2.6.7/kernel/sched.c =================================================================== --- schedprof-2.6.7.orig/kernel/sched.c 2004-06-24 23:43:43.734205632 -0700 +++ schedprof-2.6.7/kernel/sched.c 2004-06-24 23:43:54.660544576 -0700 @@ -4152,13 +4152,13 @@ { struct proc_dir_entry *entry; if (!sched_profiling) - return 1; + return 0; entry = create_proc_entry("schedprof", S_IWUSR | S_IRUGO, NULL); if (entry) { entry->proc_fops = &sched_profile_operations; entry->size = sizeof(atomic_t)*schedprof_len; } - return !!entry; + return !entry; } module_init(proc_schedprof_init); #endif