Subject: Build error in torvalds kernel 3.11 for omap2plus

From: [email-masked] (Kevin Hilman)
Date: Tue, 10 Sep 2013 08:07:45 -0700

Nicolas Pitre <[email-masked]> writes:

> Adding Kevin Hilman to the CC as he might be interested as well.

Thanks, I'd already noticed this but was distracted getting arm-soc
changes ready for the merge window.  Looking into it now.

Kevin

> On Mon, 9 Sep 2013, Guenter Roeck wrote:
>
>> On Mon, Sep 09, 2013 at 09:31:41PM +0100, Russell King - ARM Linux wrote:
>> > On Mon, Sep 09, 2013 at 09:03:48AM -0700, Guenter Roeck wrote:
>> > > Unfortunately, there are more problems.
>> > > 
>> > > arch/arm/kernel/built-in.o: In function `ret_fast_syscall':
>> > > /home/groeck/src/linux-stable/arch/arm/kernel/entry-common.S:42:
>> > > undefined reference to `user_enter'
>> > > arch/arm/kernel/built-in.o: In function `no_work_pending':
>> > > /home/groeck/src/linux-stable/arch/arm/kernel/entry-common.S:77:
>> > > undefined reference to `user_enter'
>> > > arch/arm/kernel/built-in.o: In function `vector_swi':
>> > > /home/groeck/src/linux-stable/arch/arm/kernel/entry-common.S:376:
>> > > undefined reference to `user_exit'
>> > > arch/arm/kernel/built-in.o: In function `__dabt_usr':
>> > > /home/groeck/src/linux-stable/arch/arm/kernel/entry-armv.S:365: undefined reference to `user_exit'
>> > > arch/arm/kernel/built-in.o: In function `__irq_usr':
>> > > /home/groeck/src/linux-stable/arch/arm/kernel/entry-armv.S:375: undefined reference to `user_exit'
>> > > arch/arm/kernel/built-in.o: In function `__und_usr':
>> > > /home/groeck/src/linux-stable/arch/arm/kernel/entry-armv.S:388: undefined reference to `user_exit'
>> > > arch/arm/kernel/built-in.o: In function `__pabt_usr':
>> > > /home/groeck/src/linux-stable/arch/arm/kernel/entry-armv.S:662: undefined reference to `user_exit'
>> > 
>> > These are due to ad65782fba50 (context_tracking: Optimize main APIs off case
>> > with static key) converting these functions to be inline.
>> > 
>> > No idea what the fix for this is other than reverting the change.  Any
>> > ideas Frederic?
>> > 
>> I am all for reverting unless this can be fixed quickly.
>> AFAICS this breaks all arm builds if CONFIG_CONTEXT_TRACKING is enabled.
>> 
>> Guenter
>>