X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fproc%2Fnommu.c;h=79ecd281d2cbf1e1db1484ffe4b24413bc6f9e63;hb=69747650c814a8a79fef412c7416adf823293a3e;hp=941e95114b5a3bb3f248f41e15652da2f06ad0fa;hpb=c58310bf4933986513020fa90b4190c7492995ae;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; }