From: Rob Jones Date: Thu, 9 Oct 2014 22:28:01 +0000 (-0700) Subject: mm/vmalloc.c: use seq_open_private() instead of seq_open() X-Git-Tag: omap-for-v3.19/prcm-cleanup~134^2~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=703394c1005caeccaaf64945c1b6d6cc3af0cd1d;p=pandora-kernel.git mm/vmalloc.c: use seq_open_private() instead of seq_open() Using seq_open_private() removes boilerplate code from vmalloc_open(). The resultant code is shorter and easier to follow. However, please note that seq_open_private() call kzalloc() rather than kmalloc() which may affect timing due to the memory initialisation overhead. Signed-off-by: Rob Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed