diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2025-04-04 19:53:03 +0300 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2025-04-06 20:06:36 +0200 |
| commit | 0ee07a07920285d519152974872ca6e43f8742e8 (patch) | |
| tree | 6e62a75d764aa1f873860819c5acea719d7d5519 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | Merge tag 'perf-urgent-2025-04-06' of git://git.kernel.org/pub/scm/linux/kern... (diff) | |
| download | linux-0ee07a07920285d519152974872ca6e43f8742e8.tar.gz linux-0ee07a07920285d519152974872ca6e43f8742e8.zip | |
x86/boot: Use __ALIGN_KERNEL_MASK() instead of open coded analogue
LOAD_PHYSICAL_ADDR is calculated as an aligned (up) CONFIG_PHYSICAL_START
with the respective alignment value CONFIG_PHYSICAL_ALIGN. However,
the code is written openly while we have __ALIGN_KERNEL_MASK() macro
that does the same. This macro has nothing special, that's why
it may be used in assembler code or linker scripts (on the contrary
__ALIGN_KERNEL() may not). Do it so.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20250404165303.3657139-1-andriy.shevchenko@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
