From: Nathan Lynch Date: Tue, 11 Feb 2014 22:28:42 +0000 (+0000) Subject: arm64: vdso: clean up vdso_pagelist initialization X-Git-Tag: v3.15-rc1~164^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16fb1a9bec6126162560f159df449e4781560807;p=pandora-kernel.git arm64: vdso: clean up vdso_pagelist initialization Remove some unnecessary bits that were apparently carried over from another architecture's implementation: - No need to get_page() the vdso text/data - these are part of the kernel image. - No need for ClearPageReserved on the vdso text. - No need to vmap the first text page to check the ELF header - this can be done through &vdso_start. Also some minor cleanup: - Use kcalloc for vdso_pagelist array allocation. - Don't print on allocation failure, slab/slub will do that for us. Signed-off-by: Nathan Lynch Acked-by: Will Deacon Signed-off-by: Catalin Marinas --- Reading git-diff-tree failed