summaryrefslogtreecommitdiff
path: root/usr/gen_initramfs.sh
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2021-05-05 00:07:53 +0300
committerIngo Molnar <mingo@kernel.org>2021-05-05 09:52:31 +0300
commit025768a966a3dde8455de46d1f121a51bacb6a77 (patch)
tree8fee6e17e18a85c21cce221ff67b6bda1b356482 /usr/gen_initramfs.sh
parent5e321ded302da4d8c5d5dd953423d9b748ab3775 (diff)
downloadlinux-025768a966a3dde8455de46d1f121a51bacb6a77.tar.xz
x86/cpu: Use alternative to generate the TASK_SIZE_MAX constant
We used to generate this constant with static jumps, which certainly works, but generates some quite unreadable and horrid code, and extra jumps. It's actually much simpler to just use our alternative_asm() infrastructure to generate a simple alternative constant, making the generated code much more obvious (and straight-line rather than "jump around to load the right constant"). Acked-by: Borislav Petkov <bp@alien8.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@redhat.com>
Diffstat (limited to 'usr/gen_initramfs.sh')
0 files changed, 0 insertions, 0 deletions