diff options
| author | Michael Ellerman <[email protected]> | 2023-02-16 11:29:15 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2023-02-16 12:53:15 +0000 |
| commit | a7caf3f181f160ae13ece0124e1c268d22263708 (patch) | |
| tree | eea3335f1f3538f8d8f361314362aa89b03bb184 /tools/perf/scripts/python/stat-cpi.py | |
| parent | powerpc/nohash: Fix build error with binutils >= 2.38 (diff) | |
| download | kernel-a7caf3f181f160ae13ece0124e1c268d22263708.tar.gz kernel-a7caf3f181f160ae13ece0124e1c268d22263708.zip | |
powerpc/nohash: Fix build with llvm-as
When using the LLVM integrated assembler (llvm-as), the book3e build
fails with:
arch/powerpc/mm/nohash/tlb_low_64e.S:354:2: error: invalid instruction
tlbilxva 0,%r15
^
tlbilxva is an extended mnemonic for tlbilx, but llvm-as also doesn't
support tlbilx, despite it being an e500mc instruction.
Fix it by using the existing PPC_TLBILX_VA macro. The resulting binary
is identical when building with binutils.
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions
