aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBai Yingjie <[email protected]>2020-01-06 12:29:53 +0800
committerMichael Ellerman <[email protected]>2020-01-07 22:05:51 +1100
commit6ad4afc97bc6c5cca9786030492ddfab871ce79e (patch)
tree3013f3e823c879f96265858f1f0dd4af6b4c8578 /tools/perf/scripts/python
parent552aa086944a9aeabd599892007c2c7faedb894e (diff)
powerpc32/booke: consistently return phys_addr_t in __pa()
When CONFIG_RELOCATABLE=y is set, VIRT_PHYS_OFFSET is a 64bit variable, thus __pa() returns as 64bit value. But when CONFIG_RELOCATABLE=n, __pa() returns 32bit value. When CONFIG_PHYS_64BIT is set, __pa() should consistently return as 64bit value irrelevant to CONFIG_RELOCATABLE. So we'd make __pa() consistently return phys_addr_t, which is 64bit when CONFIG_PHYS_64BIT is set. Signed-off-by: Bai Yingjie <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions