summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorNathan Lynch <nathan_lynch@mentor.com>2014-02-11 22:28:42 (GMT)
committerCatalin Marinas <catalin.marinas@arm.com>2014-02-26 11:16:30 (GMT)
commit16fb1a9bec6126162560f159df449e4781560807 (patch)
tree4fd6e83caddba1b10a6d012b41c30d1365817795 /arch/mips
parentbb10eb7b4d176f408d45fb492df28bed2981a1f3 (diff)
downloadlinux-16fb1a9bec6126162560f159df449e4781560807.tar.xz
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 <nathan_lynch@mentor.com> Acked-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/mips')
0 files changed, 0 insertions, 0 deletions