Linux Kernel Mailing List | 1 Jul 2012 01:28

ARM: mach-shmobile: Fix build when SMP is enabled and EMEV2 is not enabled

Gitweb:     http://git.kernel.org/linus/;a=commit;h=6ae42bb22b40254e6488bbfe47f970620ab6d433
Commit:     6ae42bb22b40254e6488bbfe47f970620ab6d433
Parent:     4d6344f3c943a5ff1fd8dcbd7be61ebdef1d0285
Author:     Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj <at> renesas.com>
AuthorDate: Wed Jun 20 11:30:41 2012 +0200
Committer:  Rafael J. Wysocki <rjw <at> sisk.pl>
CommitDate: Wed Jun 20 11:30:41 2012 +0200

    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.
(Continue reading)


Gmane