diff options
author | Stephen Rothwell <[email protected]> | 2019-09-30 10:13:42 +1000 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2019-10-09 17:16:58 +1100 |
commit | 18217da36103c25d87870624dfa569e6b9906a90 (patch) | |
tree | 718ff6b62c45e8aff8a2f80650724be373d26750 /tools/perf/util/trace-event-scripting.c | |
parent | da0c9ea146cbe92b832f1b0f694840ea8eb33cce (diff) |
powerpc/64s/radix: Fix build failure with RADIX_MMU=n
After merging the powerpc tree, today's linux-next build (powerpc64
allnoconfig) failed like this:
arch/powerpc/mm/book3s64/pgtable.c:216:3:
error: implicit declaration of function 'radix__flush_all_lpid_guest'
radix__flush_all_lpid_guest() is only declared for
CONFIG_PPC_RADIX_MMU which is not set for this build.
Fix it by adding an empty version for the RADIX_MMU=n case, which
should never be called.
Fixes: 99161de3a283 ("powerpc/64s/radix: tidy up TLB flushing code")
Signed-off-by: Stephen Rothwell <[email protected]>
[mpe: Munge change log]
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions