1
0
Fork 0

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 <david.ahern@oracle.com>
Link: http://lkml.kernel.org/r/1427213438-127216-1-git-send-email-david.ahern@oracle.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
hifive-unleashed-5.1
David Ahern 2015-03-24 12:10:38 -04:00 committed by Arnaldo Carvalho de Melo
parent 23d4aad48e
commit 4d255766d2
1 changed files with 1 additions and 1 deletions

View File

@ -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;