diff options
author | 2020-11-24 19:51:57 +0000 | |
---|---|---|
committer | 2020-12-09 23:48:14 +1100 | |
commit | da481c4fe0e485cdab5cf4d2761be8b8fb38d3d1 (patch) | |
tree | 88463da95649927e886d2267bd6a86c00987e848 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | powerpc/32s: In add_hash_page(), calculate VSID later (diff) | |
download | linux-rng-da481c4fe0e485cdab5cf4d2761be8b8fb38d3d1.tar.xz linux-rng-da481c4fe0e485cdab5cf4d2761be8b8fb38d3d1.zip |
powerpc/32s: Cleanup around PTE_FLAGS_OFFSET in hash_low.S
PTE_FLAGS_OFFSET is defined in asm/page_32.h and used only
in hash_low.S
And PTE_FLAGS_OFFSET nullity depends on CONFIG_PTE_64BIT
Instead of tests like #if (PTE_FLAGS_OFFSET != 0), use
CONFIG_PTE_64BIT related code.
Also move the definition of PTE_FLAGS_OFFSET into hash_low.S
directly, that improves readability.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/f5bc21db7a33dab55924734e6060c2e9daed562e.1606247495.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions