linux_dsm_epyc7002/arch/arm/mach-shmobile
Nobuhiro Iwamatsu 6ae42bb22b ARM: mach-shmobile: Fix build when SMP is enabled and EMEV2 is not enabled
Build failed, when SMP is enabled and EMEV2 is not enabled.

arch/arm/mach-shmobile/built-in.o: In function `shmobile_platform_cpu_kill':
/home/iwamatsu/work/kernel/sh-2.6-devel/arch/arm/mach-shmobile/platsmp.c:62: undefined reference to `emev2_platform_cpu_kill'
arch/arm/mach-shmobile/built-in.o: In function `shmobile_smp_get_core_count':
/home/iwamatsu/work/kernel/sh-2.6-devel/arch/arm/mach-shmobile/platsmp.c:39: undefined reference to `emev2_get_core_count'
arch/arm/mach-shmobile/built-in.o: In function `shmobile_smp_prepare_cpus':
/home/iwamatsu/work/kernel/sh-2.6-devel/arch/arm/mach-shmobile/platsmp.c:53: undefined reference to `emev2_smp_prepare_cpus'
arch/arm/mach-shmobile/built-in.o: In function `platform_secondary_init':
/home/iwamatsu/work/kernel/sh-2.6-devel/arch/arm/mach-shmobile/platsmp.c:78: undefined reference to `emev2_secondary_init'
arch/arm/mach-shmobile/built-in.o: In function `boot_secondary':
/home/iwamatsu/work/kernel/sh-2.6-devel/arch/arm/mach-shmobile/platsmp.c:90: undefined reference to `emev2_boot_secondary

This is the cause by when EMEV2 is disabled, that the check by OF of EMEV2 is
performed in platsmp.c.
This patch revise what the function about EMEV2 may not be used in this file,
when EMEV2 is not enabled.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Acked-by: Simon Horman <horms@verge.net.au>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
2012-06-20 11:30:41 +02:00
..
include/mach arm-soc: sweeping late_initcall cleanup 2012-05-26 13:14:01 -07:00
board-ag5evm.c arm-soc: sweeping late_initcall cleanup 2012-05-26 13:14:01 -07:00
board-ap4evb.c arm-soc: sweeping late_initcall cleanup 2012-05-26 13:14:01 -07:00
board-armadillo800eva.c ARM: mach-shmobile: Use DT_MACHINE for armadillo 800 eva 2012-05-14 23:23:42 +02:00
board-bonito.c arm-soc: sweeping late_initcall cleanup 2012-05-26 13:14:01 -07:00
board-g3evm.c ARM: shmobile: use machine specific hook for late init 2012-05-08 20:36:35 +08:00
board-g4evm.c ARM: shmobile: use machine specific hook for late init 2012-05-08 20:36:35 +08:00
board-kota2.c ARM: shmobile: use machine specific hook for late init 2012-05-08 20:36:35 +08:00
board-kzm9d.c mach-shmobile: Use DT_MACHINE for KZM9D V3 2012-05-18 00:14:03 +02:00
board-kzm9g.c ARM: mach-shmobile: Use DT_MACHINE for KZM9G 2012-05-14 23:22:28 +02:00
board-mackerel.c arm-soc: sweeping late_initcall cleanup 2012-05-26 13:14:01 -07:00
board-marzen.c ARM: shmobile: use machine specific hook for late init 2012-05-08 20:36:35 +08:00
clock-emev2.c mach-shmobile: Emma Mobile EV2 DT support V3 2012-05-18 00:14:03 +02:00
clock-r8a7740.c ARM: mach-shmobile: clock-r8a7740: add sh-eth clock 2012-05-12 22:33:07 +02:00
clock-r8a7779.c ARM: mach-shmobile: rename clk_init() to shmobile_clk_init() 2012-03-12 22:19:43 +01:00
clock-sh73a0.c ARM: shmobile: sh73a0: bugfix: SY-DMAC number 2012-06-20 11:30:25 +02:00
clock-sh7367.c ARM: mach-shmobile: rename clk_init() to shmobile_clk_init() 2012-03-12 22:19:43 +01:00
clock-sh7372.c MTD merge for 3.4 2012-03-30 17:31:56 -07:00
clock-sh7377.c ARM: mach-shmobile: rename clk_init() to shmobile_clk_init() 2012-03-12 22:19:43 +01:00
clock.c ARM: mach-shmobile: rename clk_init() to shmobile_clk_init() 2012-03-12 22:19:43 +01:00
common.c ARM: shmobile: use machine specific hook for late init 2012-05-08 20:36:35 +08:00
console.c ARM: mach-shmobile: early console support using earlyprintk 2010-02-09 10:34:12 +09:00
cpuidle.c ARM: shmobile: use machine specific hook for late init 2012-05-08 20:36:35 +08:00
entry-intc.S ARM: gic: consolidate PPI handling 2011-10-23 13:32:29 +01:00
headsmp.S ARM / mach-shmobile: Invalidate caches when booting secondary cores 2012-05-12 22:13:52 +02:00
hotplug.c ARM: mach-shmobile: Flush caches in platform_cpu_die() 2012-01-09 10:37:29 +09:00
intc-r8a7740.c ARM: shmobile: remove NR_IRQS 2012-01-25 20:37:51 -06:00
intc-r8a7779.c ARM: __io abuse cleanup 2012-03-13 21:25:21 -05:00
intc-sh73a0.c ARM: cleanups of io includes 2012-03-29 18:02:10 -07:00
intc-sh7367.c ARM: shmobile: remove NR_IRQS 2012-01-25 20:37:51 -06:00
intc-sh7372.c ARM: mach-shmobile: Rework sh7372 INTCS demuxer V2 2012-04-11 12:11:50 +02:00
intc-sh7377.c ARM: shmobile: remove NR_IRQS 2012-01-25 20:37:51 -06:00
Kconfig clocksource: em_sti: Emma Mobile STI driver 2012-05-25 11:32:06 +02:00
Makefile arm-soc: sweeping late_initcall cleanup 2012-05-26 13:14:01 -07:00
Makefile.boot ARM: 7022/1: allow to detect conflicting zreladdrs 2011-10-17 09:12:40 +01:00
pfc-r8a7740.c ARM: mach-shmobile: r8a7740: add gpio_irq support 2012-05-12 22:23:51 +02:00
pfc-r8a7779.c ARM: mach-shmobile: r8a7779 PFC IPSR4 fix 2012-02-24 13:24:59 +09:00
pfc-sh73a0.c ARM: mach-shmobile: pfc-sh73a0: fixup MSEL2CR MSEL18 for I2C-3 2012-05-12 22:34:16 +02:00
pfc-sh7367.c ARM: mach-shmobile: move helper macro PORTCR to sh_pfc.h 2011-11-11 16:45:35 +09:00
pfc-sh7372.c ARM: mach-shmobile: add GPIO-to-IRQ translation to sh7372 2012-01-24 10:40:25 +09:00
pfc-sh7377.c ARM: mach-shmobile: move helper macro PORTCR to sh_pfc.h 2011-11-11 16:45:35 +09:00
platsmp.c ARM: mach-shmobile: Fix build when SMP is enabled and EMEV2 is not enabled 2012-06-20 11:30:41 +02:00
pm-r8a7779.c Disintegrate asm/system.h for ARM 2012-03-28 18:30:01 +01:00
pm-sh7372.c Disintegrate asm/system.h for ARM 2012-03-28 18:30:01 +01:00
setup-emev2.c mach-shmobile: Emma Mobile EV2 DT support V3 2012-05-18 00:14:03 +02:00
setup-r8a7740.c ARM: mach-shmobile: r8a7740: reserve DMA memory for the frame buffer 2012-05-12 22:33:06 +02:00
setup-r8a7779.c ARM / mach-shmobile: r8a7779 SMP TWD boot regression fix 2012-05-12 22:13:38 +02:00
setup-sh73a0.c ARM / mach-shmobile: sh73a0 SMP TWD boot regression fix 2012-05-12 22:13:45 +02:00
setup-sh7367.c Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2012-03-29 16:53:48 -07:00
setup-sh7372.c ARM: shmobile: sh7372: bugfix: chclr_offset base 2012-06-20 11:30:32 +02:00
setup-sh7377.c Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2012-03-29 16:53:48 -07:00
sleep-sh7372.S PM / shmobile: Add support for the sh7372 A4S power domain / sleep mode 2011-12-25 23:39:03 +01:00
smp-emev2.c mach-shmobile: Emma Mobile EV2 SMP support V3 2012-05-18 00:14:02 +02:00
smp-r8a7779.c ARM / mach-shmobile: r8a7779 SMP TWD boot regression fix 2012-05-12 22:13:38 +02:00
smp-sh73a0.c ARM / mach-shmobile: sh73a0 SMP TWD boot regression fix 2012-05-12 22:13:45 +02:00
suspend.c ARM: shmobile: use machine specific hook for late init 2012-05-08 20:36:35 +08:00
timer.c ARM / mach-shmobile: Use preset_lpj with calibrate_delay() 2012-05-12 22:21:36 +02:00