git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge master.kernel.org:/home/rmk/linux-2.6-arm
[pandora-kernel.git]
/
kernel
/
latencytop.c
diff --git
a/kernel/latencytop.c
b/kernel/latencytop.c
index
7c74dab
..
5e7b45c
100644
(file)
--- a/
kernel/latencytop.c
+++ b/
kernel/latencytop.c
@@
-233,14
+233,7
@@
static struct file_operations lstats_fops = {
static int __init init_lstats_procfs(void)
{
static int __init init_lstats_procfs(void)
{
- struct proc_dir_entry *pe;
-
- pe = create_proc_entry("latency_stats", 0644, NULL);
- if (!pe)
- return -ENOMEM;
-
- pe->proc_fops = &lstats_fops;
-
+ proc_create("latency_stats", 0644, NULL, &lstats_fops);
return 0;
}
__initcall(init_lstats_procfs);
return 0;
}
__initcall(init_lstats_procfs);