On 12 July 2012 16:19, Andrey Konovalov <andrey.konovalov@linaro.org> wrote:
make ARCH=arm O=../panda omap2plus_defconfig (After this, OMAP 2/3/4
none is selected in .config)
make ARCH=arm O=../panda uImage

   LD      init/built-in.o
arch/arm/mach-vexpress/built-in.o: In function `v2m_dt_timer_init':
/root/viresh/work/linux/kernel/arch/arm/mach-vexpress/v2m.c:663:
undefined reference to `arch_timer_broken_for_sched_clock'
make[1]: *** [vmlinux] Error 1
make: *** [sub-make] Error 2


Something is wrong: why vexpress??

Yes, you are right.
I am looking at this now.

Broken probably by:

 commit 9c118124d1c75f06b64a756be579d3b4cf2c99ec
Author: Arnd Bergmann <arnd@arndb.de>
Date:   Tue May 8 15:17:25 2012 +0000

    ARM: initial multiplatform support
    
    This lets us build a multiplatform kernel for experimental purposes.
    However, it will not be useful for any real work, because it relies
    on a number of useful things to be disabled for now:
    
-config ARCH_OMAP
+config ARCH_CHOICE_OMAP
        bool "TI OMAP"
-       select HAVE_CLK
-       select ARCH_REQUIRE_GPIOLIB
-       select ARCH_HAS_CPUFREQ
-       select CLKSRC_MMIO
-       select GENERIC_CLOCKEVENTS
-       select ARCH_HAS_HOLES_MEMORYMODEL
+       select ARCH_OMAP
        select MAY_HAVE_SPARSE_IRQ
        help
          Support for TI's OMAP platform (OMAP1/2/3/4).
@@ -982,6 +963,51 @@ config ARCH_ZYNQ
          Support for Xilinx Zynq ARM Cortex A9 Platform
 endchoice
 
+config ARCH_OMAP
+       bool
+       select HAVE_CLK
+       select ARCH_REQUIRE_GPIOLIB
+       select ARCH_HAS_CPUFREQ
+       select CLKSRC_MMIO
+       select GENERIC_CLOCKEVENTS
+       select ARCH_HAS_HOLES_MEMORYMODEL
+       select MAY_HAVE_SPARSE_IRQ
+


This patch must have updated all defconfigs too, which probably now require to have
CONFIG_ARCH_CHOICE_OMAP?

--
viresh