X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fproc%2Fnommu.c;h=79ecd281d2cbf1e1db1484ffe4b24413bc6f9e63;hb=a0abb93bf9dc590b031a1123f3e6c6c225c1cdd1;hp=941e95114b5a3bb3f248f41e15652da2f06ad0fa;hpb=664a1566df81b44f7e5e234d55e3bc8c6c0be211;p=linux-2.6 diff --git a/fs/proc/nommu.c b/fs/proc/nommu.c index 941e95114b..79ecd281d2 100644 --- a/fs/proc/nommu.c +++ b/fs/proc/nommu.c @@ -137,7 +137,7 @@ static const struct file_operations proc_nommu_vma_list_operations = { static int __init proc_nommu_init(void) { - create_seq_entry("maps", S_IRUGO, &proc_nommu_vma_list_operations); + proc_create("maps", S_IRUGO, NULL, &proc_nommu_vma_list_operations); return 0; }