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: c21af444eace ("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
..
2016-08-01 18:37:45 -04:00
2016-07-30 11:32:01 -07:00
2016-08-01 18:37:45 -04:00
2016-08-01 18:21:13 -04:00
2016-08-01 18:21:13 -04:00
2016-08-01 18:21:13 -04:00
2016-07-30 11:32:01 -07:00
2016-08-01 18:21:13 -04:00
2016-08-01 18:21:13 -04:00
2016-08-01 18:21:13 -04:00
2016-08-01 18:21:13 -04:00
2016-08-01 18:21:13 -04:00
2016-08-01 18:21:13 -04:00
2016-07-14 15:08:15 +02:00
2016-08-01 18:21:13 -04:00
2016-08-01 18:21:13 -04:00
2016-08-01 18:21:13 -04:00
2016-08-01 18:21:13 -04:00
2016-07-07 18:06:40 +02:00
2016-08-01 18:27:08 -04:00
2016-08-01 18:27:08 -04:00