summaryrefslogtreecommitdiff
path: root/arch/powerpc/perf/callchain.h
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2023-02-18 12:15:45 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2023-03-14 16:52:10 +0300
commit2fc39acfcacf3dc1392d8062f6d7b7d94eb2537c (patch)
tree0f7ac1efaf52ebe3a4e602a06e1ac45511dd9709 /arch/powerpc/perf/callchain.h
parent35e175bdd52e75d4f9b1a6b3cea870c728acf344 (diff)
downloadlinux-2fc39acfcacf3dc1392d8062f6d7b7d94eb2537c.tar.xz
powerpc/machdep: Define 'compatible' property in ppc_md and use it
Most probe functions do nothing else than checking whether the machine is compatible to a given string. Define that string in ppc_md structure and check it directly from probe_machine() instead of using ppc_md.probe() for that. Keep checking in ppc_md.probe() only for more complex probing. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/6cb9865d916231c38401ba34ad1a98c249fae135.1676711562.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/perf/callchain.h')
0 files changed, 0 insertions, 0 deletions