summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/zram
diff options
context:
space:
mode:
authorRich Felker <dalias@libc.org>2016-02-15 18:32:31 (GMT)
committerRich Felker <dalias@libc.org>2016-08-05 03:29:37 (GMT)
commit4b6ef05b3e89f5bdb888fbd5467e996a9193b884 (patch)
treee6fa08e0eb4c6067324460c9f4bde918362e9192 /tools/testing/selftests/zram
parent00b73d8d1b7131da03aec73011a7286f566fe87f (diff)
downloadlinux-4b6ef05b3e89f5bdb888fbd5467e996a9193b884.tar.xz
sh: SMP support for SH2 entry.S
The SH2 version of entry.S uses global variables, which need to be cpu-local in order to work with SMP. For ease of access from asm, simply use arrays indexed by cpu number, and require the availability of an address (mmio register or properly setup per-cpu memory) from which the current cpu's index can be read. Signed-off-by: Rich Felker <dalias@libc.org>
Diffstat (limited to 'tools/testing/selftests/zram')
0 files changed, 0 insertions, 0 deletions