diff options
| author | Christophe Leroy <[email protected]> | 2021-05-07 09:24:43 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2021-05-17 15:27:16 +1000 |
| commit | c176c3d58a3ed623e8917acaafe240245e700e33 (patch) | |
| tree | 0c871c09eb86a7cbc7b903a40de6b1f7186dc43f /tools/perf/scripts/python | |
| parent | 930a77c3ad79c30ce9ba8cbad9eded5bc5805343 (diff) | |
powerpc: Define NR_CPUS all the time
include/linux/threads.h defines a default value for CONFIG_NR_CPUS
but suggests the architectures should always define it.
So do it, when CONFIG_SMP is not selected set CONFIG_NR_CPUS to 1.
Signed-off-by: Christophe Leroy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/afef0ec65a8ba8651bf4f6e4f4f08a8b6991dbfb.1620379469.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions