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