diff options
Diffstat (limited to 'arch/arm/mm/alignment.c')
-rw-r--r-- | arch/arm/mm/alignment.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/arm/mm/alignment.c b/arch/arm/mm/alignment.c index 62820eda84d9..edddd66faac6 100644 --- a/arch/arm/mm/alignment.c +++ b/arch/arm/mm/alignment.c | |||
@@ -901,11 +901,7 @@ static int __init alignment_init(void) | |||
901 | #ifdef CONFIG_PROC_FS | 901 | #ifdef CONFIG_PROC_FS |
902 | struct proc_dir_entry *res; | 902 | struct proc_dir_entry *res; |
903 | 903 | ||
904 | res = proc_mkdir("cpu", NULL); | 904 | res = create_proc_entry("cpu/alignment", S_IWUSR | S_IRUGO, NULL); |
905 | if (!res) | ||
906 | return -ENOMEM; | ||
907 | |||
908 | res = create_proc_entry("alignment", S_IWUSR | S_IRUGO, res); | ||
909 | if (!res) | 905 | if (!res) |
910 | return -ENOMEM; | 906 | return -ENOMEM; |
911 | 907 | ||