remarkable-linux/arch/arm/mach-shmobile
Arnd Bergmann 869ec056fa ARM: shmobile: don't call platform_can_secondary_boot on UP
For rcar-gen2, we build the SMP files even for UP configurations,
and that just broke:

arch/arm/mach-shmobile/built-in.o: In function `shmobile_smp_init_fallback_ops':
pm-rcar-gen2.c:(.init.text+0x40c): undefined reference to `platform_can_secondary_boot'

This adds an compile-time check before the call to platform_can_secondary_boot,
turning the function into an empty stub for UP configurations.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: c21af444ea ("ARM: shmobile: smp: Add function to prioritize DT SMP")
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Olof Johansson <olof@lixom.net>
2016-08-02 12:34:49 -07:00
..
common.h ARM: shmobile: smp: Add function to prioritize DT SMP 2016-06-29 14:43:11 +02:00
emev2.h ARM: shmobile: emev2: Move declaration of emev2_smp_ops to emev2.h 2016-02-19 14:45:31 +09:00
headsmp-scu.S Second Round of Renesas ARM Based SoC Cleanup for v4.6 2016-02-26 22:37:32 +01:00
headsmp.S ARM: shmobile: Remove shmobile_boot_arg 2016-02-17 18:27:21 +09:00
Kconfig Second Round of Renesas ARM Based SoC Updates for v4.8 2016-07-06 22:21:11 -07:00
Makefile ARM: shmobile: r8a7792: basic SoC support 2016-06-29 14:42:01 +02:00
platsmp-apmu.c ARM: shmobile: apmu: Add APMU DT support via Enable method 2016-06-29 14:42:48 +02:00
platsmp-apmu.h ARM: shmobile: Separate APMU resource data into CPU dependant part 2014-11-04 09:31:23 +09:00
platsmp-scu.c ARM: shmobile: Consolidate SCU mapping code 2016-02-17 21:24:29 +09:00
platsmp.c ARM: shmobile: don't call platform_can_secondary_boot on UP 2016-08-02 12:34:49 -07:00
pm-r8a7779.c soc: renesas: rcar-sysc: Move SYSC interrupt config to rcar-sysc driver 2016-06-29 14:37:08 +02:00
pm-rcar-gen2.c Merge branch 'rcar-sysc-for-v4.8' into HEAD 2016-06-29 14:41:43 +02:00
pm-rmobile.c ARM: shmobile: pm-rmobile: Postpone call to pm_genpd_init() 2016-05-30 09:39:42 +09:00
pm-rmobile.h ARM: shmobile: Remove obsolete legacy PM Domain leftovers 2015-09-14 09:58:08 +09:00
r8a7779.h ARM: use const and __initconst for smp_operations 2015-12-01 22:17:45 +01:00
r8a7790.h ARM: use const and __initconst for smp_operations 2015-12-01 22:17:45 +01:00
r8a7791.h ARM: use const and __initconst for smp_operations 2015-12-01 22:17:45 +01:00
rcar-gen2.h ARM: shmobile: Consolidate the pm code for R-Car Gen2 2015-03-17 08:05:13 +09:00
regulator-quirk-rcar-gen2.c ARM: shmobile: gose: enable R-Car Gen2 regulator quirk 2015-07-06 09:37:24 +09:00
setup-emev2.c ARM: shmobile: emev2: Move declaration of emev2_smp_ops to emev2.h 2016-02-19 14:45:31 +09:00
setup-r7s72100.c ARM: appropriate __init annotation for const data 2015-07-28 13:55:27 +02:00
setup-r8a73a4.c ARM: appropriate __init annotation for const data 2015-07-28 13:55:27 +02:00
setup-r8a7740.c arm: Remove unnecessary of_platform_populate with default match table 2016-06-23 14:58:37 -05:00
setup-r8a7778.c clk: renesas: Rename header file renesas.h 2016-03-15 18:12:14 -07:00
setup-r8a7779.c clk: renesas: Rename header file renesas.h 2016-03-15 18:12:14 -07:00
setup-r8a7790.c ARM: shmobile: r8a7790: Prioritize DT APMU support 2016-06-29 14:43:26 +02:00
setup-r8a7791.c ARM: shmobile: r8a7791: Prioritize DT APMU support 2016-06-29 14:43:40 +02:00
setup-r8a7792.c ARM: shmobile: r8a7792: basic SoC support 2016-06-29 14:42:01 +02:00
setup-r8a7793.c ARM: shmobile: r8a7793: proper constness with __initconst 2015-11-22 17:13:13 -08:00
setup-r8a7794.c ARM: shmobile: r8a7794: Reserve memory as other R-Car Gen2 SoCs 2014-09-16 15:01:58 +09:00
setup-rcar-gen2.c ARM: shmobile: rcar-gen2: Correct arch timer frequency on R-Car V2H 2016-06-29 14:42:03 +02:00
setup-sh73a0.c arm: Remove unnecessary of_platform_populate with default match table 2016-06-23 14:58:37 -05:00
sh73a0.h ARM: use const and __initconst for smp_operations 2015-12-01 22:17:45 +01:00
smp-emev2.c ARM: SoC platform updates for v4.6 2016-03-20 14:57:08 -07:00
smp-r8a7779.c soc: renesas: Move pm-rcar to drivers/soc/renesas/rcar-sysc 2016-04-22 17:23:13 +10:00
smp-r8a7790.c soc: renesas: Move pm-rcar to drivers/soc/renesas/rcar-sysc 2016-04-22 17:23:13 +10:00
smp-r8a7791.c ARM: use const and __initconst for smp_operations 2015-12-01 22:17:45 +01:00
smp-sh73a0.c ARM: shmobile: Consolidate SCU mapping code 2016-02-17 21:24:29 +09:00
suspend.c ARM: shmobile: Add includes providing forward declarations 2016-02-04 15:09:29 +01:00
timer.c ARM: shmobile: timer: Drop support for Cortex A8 2016-04-20 08:55:09 +10:00