diff options
| author | Jason A. Donenfeld <[email protected]> | 2019-01-15 00:47:45 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2019-01-15 10:27:47 +0000 |
| commit | da727097a482a93645ba5beea8d389ebab11fc64 (patch) | |
| tree | ce2c6ec9533f70489b4bd15f744a74d2038df2ef /tools/perf/util/c++/clang.cpp | |
| parent | powerpc/4xx/ocm: Fix fix for phys_addr_t printf warnings (diff) | |
| download | kernel-da727097a482a93645ba5beea8d389ebab11fc64.tar.gz kernel-da727097a482a93645ba5beea8d389ebab11fc64.zip | |
powerpc/pseries: Fix build break due to pnv_npu2_init()
Commit 3be2df00e299 ("powerpc/pseries/npu: Enable platform support")
added a call to pnv_npu2_init() in pseries code. This causes a build
break if we build with CONFIG_PPC_PSERIES && !CONFIG_PPC_POWERNV:
powerpc64le-pc-linux-gnu-ld: arch/powerpc/platforms/pseries/pci.o: in function `pSeries_final_fixup':
pci.c:(.init.text+0x1b0): undefined reference to `pnv_npu2_init'
This commit therefore wraps that line in an ifdef, so that pseries
builds without powernv.
Fixes: 3be2df00e299 ("powerpc/pseries/npu: Enable platform support")
Signed-off-by: Jason A. Donenfeld <[email protected]>
Reviewed-by: Alexey Kardashevskiy <[email protected]>
[mpe: Frob change log a bit to blame a different commit]
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions
