ARM: shmobile: r8a7794 SMP support
PATCH 5/5 ARM: shmobile: r8a7794 SMP support
Signed-off-by Gaku Inami <[email protected]>
--- arch/arm/mach-shmobile/Makefile | 1 + arch/arm/mach-shmobile/r8a7794.h | 2 ++ arch/arm/mach-shmobile/setup-r8a7794.c | 2 ++ arch/arm/mach-shmobile/smp-r8a7794.c | 49 ++++++++++++++++++++++++++++++++ 4 files changed, 54 insertions(+) create mode 100644 arch/arm/mach-shmobile/smp-r8a7794.c
arch/arm/mach-shmobile/Makefile +1 -0
@@ -39,6 +39,7 @@ smp-$(CONFIG_ARCH_SH73A0) += smp-sh73a0.o headsmp-scu.o platsmp-scu.o smp-$(CONFIG_ARCH_R8A7779) += smp-r8a7779.o headsmp-scu.o platsmp-scu.o smp-$(CONFIG_ARCH_R8A7790) += smp-r8a7790.o smp-$(CONFIG_ARCH_R8A7791) += smp-r8a7791.o +smp-$(CONFIG_ARCH_R8A7794) += smp-r8a7794.o smp-$(CONFIG_ARCH_EMEV2) += smp-emev2.o headsmp-scu.o platsmp-scu.o # PM objects
arch/arm/mach-shmobile/r8a7794.h +2 -0
@@ -3,4 +3,6 @@void r8a7794_pm_init (void ); +extern struct smp_operations r8a7794_smp_ops; +#endif /* __ASM_R8A7794_H__ */
arch/arm/mach-shmobile/setup-r8a7794.c +2 -0
@@ -17,6 +17,7 @@#include <linux/of_platform.h> #include "common.h" #include "rcar-gen2.h" +#include "r8a7794.h" #include <asm/mach/arch.h> static const char *const r8a7794_boards_compat_dt[]__initconst = {
@@ -25,6 +26,7 @@ static const char * const r8a7794_boards_compat_dt[] __initconst = { };DT_MACHINE_START (R8A7794_DT ,"Generic R8A7794 (Flattened Device Tree)" ) + .smp = smp_ops(r8a7794_smp_ops), .init_early = shmobile_init_delay, .init_late = shmobile_init_late, .init_time = rcar_gen2_timer_init,
arch/arm/mach-shmobile/smp-r8a7794.c new file +49 -0
49 lines not on this page · raw message
Signature · 1 line
1.7.9.5