]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/sched_debug.c
module: neaten __find_symbol, rename to find_symbol
[linux-2.6-omap-h63xx.git] / kernel / sched_debug.c
index f3f4af4b8b0fb8ffa4e24da75f5982358c44cc3e..8a9498e7c8311e582f35709c7ffc3019fda2f601 100644 (file)
@@ -277,12 +277,9 @@ static int __init init_sched_debug_procfs(void)
 {
        struct proc_dir_entry *pe;
 
-       pe = create_proc_entry("sched_debug", 0644, NULL);
+       pe = proc_create("sched_debug", 0644, NULL, &sched_debug_fops);
        if (!pe)
                return -ENOMEM;
-
-       pe->proc_fops = &sched_debug_fops;
-
        return 0;
 }