]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/arm/mm/alignment.c
Merge commit 'v2.6.34-rc1' into perf/urgent
[mv-sheeva.git] / arch / arm / mm / alignment.c
index 62820eda84d9ea89bb1ec729b8934c626a74c20a..edddd66faac6bb9a1f08e8ca144b3677cb9fac3c 100644 (file)
@@ -901,11 +901,7 @@ static int __init alignment_init(void)
 #ifdef CONFIG_PROC_FS
        struct proc_dir_entry *res;
 
-       res = proc_mkdir("cpu", NULL);
-       if (!res)
-               return -ENOMEM;
-
-       res = create_proc_entry("alignment", S_IWUSR | S_IRUGO, res);
+       res = create_proc_entry("cpu/alignment", S_IWUSR | S_IRUGO, NULL);
        if (!res)
                return -ENOMEM;