diff options
| author | Qasim Ijaz <qasdev00@gmail.com> | 2025-02-15 12:52:49 +0000 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2025-02-21 15:33:57 +0100 |
| commit | 282f395244df3663dc24e97a86087431c9192513 (patch) | |
| tree | 47710a4c94a0c8ced0918ed04fb99aa551e50799 /arch/x86/kernel/paravirt.c | |
| parent | 81256a50aa0fddefbf4849db8cad9f70c5167c04 (diff) | |
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
Diffstat (limited to 'arch/x86/kernel/paravirt.c')
0 files changed, 0 insertions, 0 deletions
