diff options
| author | 2025-12-24 12:20:53 +0100 | |
|---|---|---|
| committer | 2026-01-07 09:31:04 +0530 | |
| commit | fb7903771c107b0358584a359b8545060e23c530 (patch) | |
| tree | bc2382ebd9b8b23f49293d0835fe691d013598a0 /tools/perf/scripts/python/stackcollapse.py | |
| parent | powerpc/uaccess: Refactor user_{read/write/}_access_begin() (diff) | |
powerpc/32s: Fix segments setup when TASK_SIZE is not a multiple of 256M
For book3s/32 it is assumed that TASK_SIZE is a multiple of 256 Mbytes,
but Kconfig allows any value for TASK_SIZE.
In all relevant calculations, align TASK_SIZE to the upper 256 Mbytes
boundary.
Also use ASM_CONST() in the definition of TASK_SIZE to ensure it is
seen as an unsigned constant.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/8928d906079e156c59794c41e826a684eaaaebb4.1766574657.git.chleroy@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
