diff options
author | Rich Felker <dalias@libc.org> | 2016-02-15 21:36:13 +0300 |
---|---|---|
committer | Rich Felker <dalias@libc.org> | 2016-08-05 06:29:39 +0300 |
commit | b4214e41b7152b1964a3421a40251d202ae2d2c0 (patch) | |
tree | edfab19d4f16bf2d6f42168c6598aa1fac4ac0e3 /arch/sh/kernel/cpu/sh2/Makefile | |
parent | 4b6ef05b3e89f5bdb888fbd5467e996a9193b884 (diff) | |
download | linux-b4214e41b7152b1964a3421a40251d202ae2d2c0.tar.xz |
sh: add SMP support for J2
Support is hooked up via a cpu start method specified in the device
tree, and also depends on DT nodes that describe the interfaces for
performing IPI and identifying which cpu execution is taking place on.
The currently used method is a form of spin table, where secondary
cpus are unblocked by writing to a special address.
Signed-off-by: Rich Felker <dalias@libc.org>
Diffstat (limited to 'arch/sh/kernel/cpu/sh2/Makefile')
-rw-r--r-- | arch/sh/kernel/cpu/sh2/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh2/Makefile b/arch/sh/kernel/cpu/sh2/Makefile index f0f059acfcfb..904c4283d923 100644 --- a/arch/sh/kernel/cpu/sh2/Makefile +++ b/arch/sh/kernel/cpu/sh2/Makefile @@ -5,3 +5,7 @@ obj-y := ex.o probe.o entry.o obj-$(CONFIG_CPU_SUBTYPE_SH7619) += setup-sh7619.o clock-sh7619.o + +# SMP setup +smp-$(CONFIG_CPU_J2) := smp-j2.o +obj-$(CONFIG_SMP) += $(smp-y) |