diff options
author | 2013-11-01 10:46:40 +0530 | |
---|---|---|
committer | 2013-11-06 10:41:46 +0530 | |
commit | 57e26e57454fae4f1d15c2e9fa965b7a8046ab34 (patch) | |
tree | 8100ec071f56fbd4cd3a01747ce971235118f6f3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ARC: [SMP] enlarge possible NR_CPUS (diff) | |
download | linux-dev-57e26e57454fae4f1d15c2e9fa965b7a8046ab34.tar.xz linux-dev-57e26e57454fae4f1d15c2e9fa965b7a8046ab34.zip |
ARC: [SMP] Fix build failures for large NR_CPUS
ST.as only takes S9 (255) for offset. This was going out of range when
accessing a task_struct field with 4k NR_CPUS (due to 128b of coumaks
itself in there).
Workaround by using an intermediate register to do the address scaling.
There is some duplication of fix for ctx_sw.c and ctx_sw_asm.S however
given that C version will go away soon I'm not bothering to factor out
the common code.
Reported-by: Noam Camus <noamc@ezchip.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions