Merge branch 'next-integrity' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorri...
[linux] / net / sctp / protocol.c
index a5b2418..d5878ae 100644 (file)
@@ -1368,7 +1368,7 @@ static __init int sctp_init(void)
        int status = -EINVAL;
        unsigned long goal;
        unsigned long limit;
-       unsigned long nr_pages = totalram_pages;
+       unsigned long nr_pages = totalram_pages();
        int max_share;
        int order;
        int num_entries;