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