aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorHuacai Chen <[email protected]>2018-11-15 15:53:56 +0800
committerPaul Burton <[email protected]>2018-11-20 21:05:39 -0800
commitbec0de4cfad21bd284dbddee016ed1767a5d2823 (patch)
tree244139541db64970f475bc4d65d4dac3da8a5319 /scripts/gcc-plugins/cyc_complexity_plugin.c
parent92aa0718c9fa5160ad2f0e7b5bffb52f1ea1e51a (diff)
MIPS: Align kernel load address to 64KB
KEXEC needs the new kernel's load address to be aligned on a page boundary (see sanity_check_segment_list()), but on MIPS the default vmlinuz load address is only explicitly aligned to 16 bytes. Since the largest PAGE_SIZE supported by MIPS kernels is 64KB, increase the alignment calculated by calc_vmlinuz_load_addr to 64KB. Signed-off-by: Huacai Chen <[email protected]> Signed-off-by: Paul Burton <[email protected]> Patchwork: https://patchwork.linux-mips.org/patch/21131/ Cc: Ralf Baechle <[email protected]> Cc: James Hogan <[email protected]> Cc: Steven J . Hill <[email protected]> Cc: [email protected] Cc: Fuxin Zhang <[email protected]> Cc: Zhangjin Wu <[email protected]> Cc: <[email protected]> # 2.6.36+
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions