X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=fs%2Fproc%2Fbase.c;h=e5d0953d4db17f0b81f8f588a02b36887ff4ef5c;hb=2d72376b3af1e7d4d4515ebfd0f4383f2e92c343;hp=3c77d5a64e7ce6512e896d768d8bb74501372a89;hpb=fdb64f93b38a3470fa4db8cd5720b8c731922d1a;p=mv-sheeva.git diff --git a/fs/proc/base.c b/fs/proc/base.c index 3c77d5a64e7..e5d0953d4db 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -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