mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
x86/mm: Replace open-coded gap bounding with clamp()
Rather than manually bounding gap between gap_min and gap_max, use the well-known clamp() macro to make the code easier to read. Signed-off-by: Qasim Ijaz <qasdev00@gmail.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20250215125249.10729-1-qasdev00@gmail.com
This commit is contained in:
parent
81256a50aa
commit
282f395244
1 changed files with 1 additions and 8 deletions
Loading…
Add table
Add a link
Reference in a new issue