]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - fs/proc/base.c
sched: clean up schedstats, cnt -> count
[mv-sheeva.git] / fs / proc / base.c
index 3c77d5a64e7ce6512e896d768d8bb74501372a89..e5d0953d4db17f0b81f8f588a02b36887ff4ef5c 100644 (file)
@@ -304,7 +304,7 @@ static int proc_pid_schedstat(struct task_struct *task, char *buffer)
        return sprintf(buffer, "%llu %llu %lu\n",
                        task->sched_info.cpu_time,
                        task->sched_info.run_delay,
-                       task->sched_info.pcnt);
+                       task->sched_info.pcount);
 }
 #endif
 
@@ -927,7 +927,7 @@ static const struct file_operations proc_pid_sched_operations = {
        .read           = seq_read,
        .write          = sched_write,
        .llseek         = seq_lseek,
-       .release        = seq_release,
+       .release        = single_release,
 };
 
 #endif