https://github.com/torvalds/linux
Revision 4b6ef05b3e89f5bdb888fbd5467e996a9193b884 authored by Rich Felker on 15 February 2016, 18:32:31 UTC, committed by Rich Felker on 05 August 2016, 03:29:37 UTC
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>
1 parent 00b73d8
History
Tip revision: 4b6ef05b3e89f5bdb888fbd5467e996a9193b884 authored by Rich Felker on 15 February 2016, 18:32:31 UTC
sh: SMP support for SH2 entry.S
Tip revision: 4b6ef05
File Mode Size
Documentation
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 6.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 95.5 KB
Kbuild -rw-r--r-- 2.8 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 357.6 KB
Makefile -rw-r--r-- 56.8 KB
README -rw-r--r-- 18.1 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top