diff options
author | Nathan Lynch <[email protected]> | 2014-02-11 22:28:42 +0000 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2014-02-26 11:16:30 +0000 |
commit | 16fb1a9bec6126162560f159df449e4781560807 (patch) | |
tree | 4fd6e83caddba1b10a6d012b41c30d1365817795 /include/linux/fpga/fpga-mgr.h | |
parent | bb10eb7b4d176f408d45fb492df28bed2981a1f3 (diff) |
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 <[email protected]>
Acked-by: Will Deacon <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions