From: David Ahern Date: Tue, 24 Mar 2015 16:10:38 +0000 (-0400) Subject: perf: Bump max number of cpus to 1024 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4d255766d28b1fecec7e00ab4166b2c17bfc37be;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git perf: Bump max number of cpus to 1024 SPARC based systems currently support up to 1024 cpus (e.g. T5-8). Allow perf to work on those systems. Signed-off-by: David Ahern Link: http://lkml.kernel.org/r/1427213438-127216-1-git-send-email-david.ahern@oracle.com Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/perf.h b/tools/perf/perf.h index 1caa70a4a9e1..c38a085a5571 100644 --- a/tools/perf/perf.h +++ b/tools/perf/perf.h @@ -29,7 +29,7 @@ static inline unsigned long long rdclock(void) return ts.tv_sec * 1000000000ULL + ts.tv_nsec; } -#define MAX_NR_CPUS 256 +#define MAX_NR_CPUS 1024 extern const char *input_name; extern bool perf_host, perf_guest;