Commit fa818dc4884afb21ba48de773807413bcc0092b8
Exists in
ti-lsk-linux-4.1.y
and in
10 other branches
Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
Pull arm64 fixes from Will Deacon: - Wire up compat_sys_execveat for compat (AArch32) tasks - Revert 421520ba9829, as this breaks our side of the boot protocol * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux: arm64: partially revert "ARM: 8167/1: extend the reserved memory for initrd to be page aligned" arm64: compat: wire up compat_sys_execveat
Showing 3 changed files Side-by-side Diff
arch/arm64/include/asm/unistd.h
arch/arm64/include/asm/unistd32.h
arch/arm64/mm/init.c
... | ... | @@ -335,14 +335,8 @@ |
335 | 335 | |
336 | 336 | void free_initrd_mem(unsigned long start, unsigned long end) |
337 | 337 | { |
338 | - if (!keep_initrd) { | |
339 | - if (start == initrd_start) | |
340 | - start = round_down(start, PAGE_SIZE); | |
341 | - if (end == initrd_end) | |
342 | - end = round_up(end, PAGE_SIZE); | |
343 | - | |
338 | + if (!keep_initrd) | |
344 | 339 | free_reserved_area((void *)start, (void *)end, 0, "initrd"); |
345 | - } | |
346 | 340 | } |
347 | 341 | |
348 | 342 | static int __init keepinitrd_setup(char *__unused) |