]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
parisc: Cleanup mmap implementation regarding color alignment
authorJohn David Anglin <dave@parisc-linux.org>
Sun, 26 Feb 2023 18:03:33 +0000 (18:03 +0000)
committerHelge Deller <deller@gmx.de>
Wed, 3 May 2023 15:43:26 +0000 (17:43 +0200)
commit567b35159e76997e95b643b9a8a5d9d2198f2522
treef0b1ed2b3c64f27ada4e6610481583c3eba256e1
parent653f3ea73bf3e03070d370300805eee4f2a47bd9
parisc: Cleanup mmap implementation regarding color alignment

This change simplifies the randomization of file mapping regions. It
reworks the code to remove duplication. The flow is now similar to
that for mips. Finally, we consistently use the do_color_align variable
to determine when color alignment is needed.

Tested on rp3440.

Signed-off-by: John David Anglin <dave.anglin@bell.net>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/sys_parisc.c