diff options
| author | Michal Suchanek <[email protected]> | 2021-01-20 14:28:38 +0100 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2021-01-31 22:35:49 +1100 |
| commit | 9899a56f1eca964cd0de21008a9fa1523a571231 (patch) | |
| tree | d6e131146c280dd0513f2a3c7bbf8a700a7f3bad /tools/perf/scripts/python | |
| parent | 923b3cf00b3ffc896543bac99affc0fa8553e41a (diff) | |
powerpc: Fix build error in paravirt.h
./arch/powerpc/include/asm/paravirt.h:83:44: error: implicit declaration
of function 'smp_processor_id'; did you mean 'raw_smp_processor_id'?
smp_processor_id is defined in linux/smp.h but it is not included.
The build error happens only when the patch is applied to 5.3 kernel but
it only works by chance in mainline.
Fixes: ca3f969dcb11 ("powerpc/paravirt: Use is_kvm_guest() in vcpu_is_preempted()")
Signed-off-by: Michal Suchanek <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions